Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ def transcribe(audio):
|
|
6 |
transcription = tr[0][0]
|
7 |
return transcription
|
8 |
|
9 |
-
model_name = "
|
10 |
-
model = nemo_asr.models.ASRModel.
|
11 |
|
12 |
iface = gr.Interface(fn=transcribe,
|
13 |
inputs=[gr.Audio(type="filepath", label="Audio")],
|
|
|
6 |
transcription = tr[0][0]
|
7 |
return transcription
|
8 |
|
9 |
+
model_name = "stt_eu_conformer_transducer_large.nemo"
|
10 |
+
model = nemo_asr.models.ASRModel.restore_from(model_name)
|
11 |
|
12 |
iface = gr.Interface(fn=transcribe,
|
13 |
inputs=[gr.Audio(type="filepath", label="Audio")],
|