Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -15,8 +15,8 @@ def transcribe_audio(mic=None, file=None):
|
|
15 |
|
16 |
gr.Interface(
|
17 |
fn=transcribe_audio,
|
18 |
-
inputs=[gr.
|
19 |
-
gr.
|
20 |
outputs="text",
|
21 |
css=".footer{display:none !important}"
|
22 |
).launch()
|
|
|
15 |
|
16 |
gr.Interface(
|
17 |
fn=transcribe_audio,
|
18 |
+
inputs=[gr.Audio(source="microphone", type="filepath", optional=True),
|
19 |
+
gr.Audio(source ="upload", type="filepath", optional=True)],
|
20 |
outputs="text",
|
21 |
css=".footer{display:none !important}"
|
22 |
).launch()
|