Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,4 +9,4 @@ def transcribe(audio, state=""):
|
|
| 9 |
state += text + " "
|
| 10 |
return state, state
|
| 11 |
|
| 12 |
-
|
|
|
|
| 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()
|