Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|
|
|
|
|
|
|
|
|
|