Spaces:
Sleeping
Sleeping
Commit
•
06ed778
1
Parent(s):
049f027
small error solve
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def audio2text(audio):
|
|
9 |
return text
|
10 |
|
11 |
gr.Interface(
|
12 |
-
fn=
|
13 |
inputs = [gr.Audio(source="microphone", type="filepath")],
|
14 |
outputs=["textbox"]
|
15 |
).launch()
|
|
|
9 |
return text
|
10 |
|
11 |
gr.Interface(
|
12 |
+
fn=audio2text,
|
13 |
inputs = [gr.Audio(source="microphone", type="filepath")],
|
14 |
outputs=["textbox"]
|
15 |
).launch()
|