Spaces:
Sleeping
Sleeping
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 = "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")],
|
|
|
6 |
transcription = tr[0][0]
|
7 |
return transcription
|
8 |
|
9 |
+
model_name = "models/HiTZ/stt_eu_conformer_transducer_large"
|
10 |
+
model = nemo_asr.models.ASRModel.from_pretrained(model_name)
|
11 |
|
12 |
iface = gr.Interface(fn=transcribe,
|
13 |
inputs=[gr.Audio(type="filepath", label="Audio")],
|