rutsam commited on
Commit
da923e2
1 Parent(s): 772bef1

pass file in nemo function

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.name, "stt_rw_conformer_transducer_large")
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()