Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,4 +9,10 @@ def transcribe(audio, state=""):
|
|
9 |
state += text + " "
|
10 |
return state, state
|
11 |
|
12 |
-
gr.Interface(fn=transcribe,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
state += text + " "
|
10 |
return state, state
|
11 |
|
12 |
+
gr.Interface(fn=transcribe,
|
13 |
+
inputs=[gr.inputs.Audio(source="upload", 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.",
|
17 |
+
theme="huggingface",
|
18 |
+
live=True).launch()
|