Spaces:
Runtime error
Runtime error
Commit
·
ab08598
1
Parent(s):
67c3c57
Update app.py
Browse files
app.py
CHANGED
@@ -93,9 +93,8 @@ def main(audio):
|
|
93 |
|
94 |
gr.Interface(
|
95 |
fn=main,
|
96 |
-
inputs=[
|
97 |
-
gr.
|
98 |
-
],
|
99 |
outputs=[
|
100 |
"textbox"
|
101 |
],
|
|
|
93 |
|
94 |
gr.Interface(
|
95 |
fn=main,
|
96 |
+
inputs=[gr.Audio(source="upload", type="filepath", label="File"),
|
97 |
+
gr.Audio(source="microphone", type="filepath", streaming=False, label="Microphone")],
|
|
|
98 |
outputs=[
|
99 |
"textbox"
|
100 |
],
|