Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def transcribe(audio):
|
|
7 |
return transcription
|
8 |
|
9 |
model_name = "HiTZ/stt_eu_conformer_transducer_large"
|
10 |
-
model = nemo_asr.models.ASRModel.
|
11 |
|
12 |
iface = gr.Interface(fn=transcribe,
|
13 |
inputs=[gr.Audio(type="filepath", label="Audio")],
|
|
|
7 |
return transcription
|
8 |
|
9 |
model_name = "HiTZ/stt_eu_conformer_transducer_large"
|
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")],
|