ecarbo commited on
Commit
64405e3
·
1 Parent(s): 67e8822

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -9,9 +9,4 @@ def transcribe(audio, state=""):
9
  state += text + " "
10
  return state, state
11
 
12
- gr.Interface(fn=transcribe, inputs=[gr.inputs.Audio(source="microphone", type="filepath", label="Record/ Drop audio"), "state"],
13
- outputs=["textbox", "state"],
14
- title="Automatic Speech Recognition",
15
- description="Enable the recognition spoken language into text by computers.",
16
- theme="huggingface",
17
- live=True).launch()
 
9
  state += text + " "
10
  return state, state
11
 
12
+ gr.Interface(fn=transcribe, inputs=[gr.inputs.Audio(source="microphone", type="filepath", label="Record/ Drop audio"), "state"], outputs=["textbox", "state"], title="Automatic Speech Recognition", description="Enable the recognition spoken language into text by computers.", theme="huggingface", live=True).launch()