ecarbo commited on
Commit
67e8822
·
1 Parent(s): 4c699e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -9,8 +9,7 @@ def transcribe(audio, state=""):
9
  state += text + " "
10
  return state, state
11
 
12
- gr.Interface(fn=transcribe,
13
- inputs=[gr.inputs.Audio(source="microphone", type="filepath", label="Record/ Drop audio"), "state"],
14
  outputs=["textbox", "state"],
15
  title="Automatic Speech Recognition",
16
  description="Enable the recognition spoken language into text by computers.",
 
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.",