camanalo1 commited on
Commit
d70e1b9
·
1 Parent(s): 6330f33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,8 +13,8 @@ def transcribe_audio(audio):
13
  )
14
  return predicted_text[0]
15
 
16
- # Interface
17
- inputs = gr.inputs.Audio(source="microphone", label="Speak into the microphone", type="microphone")
18
  outputs = gr.outputs.Textbox(label="Transcription")
19
  title = "Canary ASR"
20
  description = "Transcribe speech from the microphone using the NeMo Canary ASR model."
 
13
  )
14
  return predicted_text[0]
15
 
16
+ # Interface with microphone input
17
+ inputs = gr.inputs.Microphone(label="Speak into the microphone")
18
  outputs = gr.outputs.Textbox(label="Transcription")
19
  title = "Canary ASR"
20
  description = "Transcribe speech from the microphone using the NeMo Canary ASR model."