Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,9 +9,9 @@ def transcribe(audio):
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn=transcribe,
|
| 12 |
-
inputs=
|
| 13 |
-
gr.Text(label="URL (YouTube, etc.)"),
|
| 14 |
-
gr.Audio(source="upload", type="filepath", label="Upload Audio")],
|
| 15 |
|
| 16 |
outputs="text",
|
| 17 |
|
|
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn=transcribe,
|
| 12 |
+
inputs=gr.Audio(source="microphone", type="filepath"),
|
| 13 |
+
#gr.Text(label="URL (YouTube, etc.)"),
|
| 14 |
+
#gr.Audio(source="upload", type="filepath", label="Upload Audio")],
|
| 15 |
|
| 16 |
outputs="text",
|
| 17 |
|