Spaces:
Runtime error
Runtime error
pass file in nemo function
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def asr_transcript(audio):
|
|
32 |
data={}
|
33 |
if audio:
|
34 |
text_asr = asr_model.transcribe_file(audio.name)
|
35 |
-
text_nemo_trasducer = transcribe(audio
|
36 |
with open(audio.name,'rb') as f:
|
37 |
audio_proper = f.read()
|
38 |
stt_engine = SpeechToTextEngine()
|
|
|
32 |
data={}
|
33 |
if audio:
|
34 |
text_asr = asr_model.transcribe_file(audio.name)
|
35 |
+
text_nemo_trasducer = transcribe(audio, "stt_rw_conformer_transducer_large")
|
36 |
with open(audio.name,'rb') as f:
|
37 |
audio_proper = f.read()
|
38 |
stt_engine = SpeechToTextEngine()
|