rutsam commited on
Commit
cbdd88f
1 Parent(s): 01305fd

use conformer ctc large

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,7 +27,7 @@ def asr_transcript(audio):
27
  data={}
28
  if audio:
29
  text_asr = asr_model.transcribe_file(audio.name)
30
- text_nemo_trasducer = transcribe(audio, "stt_rw_conformer_transducer_large")
31
  with open(audio.name,'rb') as f:
32
  audio_proper = f.read()
33
  stt_engine = SpeechToTextEngine()
@@ -53,7 +53,7 @@ gradio_ui = gr.Interface(
53
  inputs=[ gr.inputs.Audio(source="microphone", type="file", optional=True, label="Record from microphone")],
54
  outputs=[gr.outputs.Textbox(label="Recognized speech from speechbrain model"),
55
  gr.outputs.Textbox(label="Recognized speech from coqui STT model"),
56
- gr.outputs.Textbox(label="Recognized speech from NVIDIA Conformer transduver large model")]
57
  # examples = [["sample_1.wav"],["sample_2.wav"]]
58
  )
59
 
 
27
  data={}
28
  if audio:
29
  text_asr = asr_model.transcribe_file(audio.name)
30
+ text_nemo_trasducer = transcribe(audio, "stt_rw_conformer_ctc_large")
31
  with open(audio.name,'rb') as f:
32
  audio_proper = f.read()
33
  stt_engine = SpeechToTextEngine()
 
53
  inputs=[ gr.inputs.Audio(source="microphone", type="file", optional=True, label="Record from microphone")],
54
  outputs=[gr.outputs.Textbox(label="Recognized speech from speechbrain model"),
55
  gr.outputs.Textbox(label="Recognized speech from coqui STT model"),
56
+ gr.outputs.Textbox(label="Recognized speech from NVIDIA conformer ctc large model")]
57
  # examples = [["sample_1.wav"],["sample_2.wav"]]
58
  )
59