Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def transcribe(audio):
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn=transcribe,
|
| 12 |
-
inputs=gr.Audio(
|
| 13 |
outputs="text",
|
| 14 |
title="Moroccan Darija Text-to-Speech",
|
| 15 |
description="Realtime demo for Moroccan Darija speech recognition.",
|
|
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn=transcribe,
|
| 12 |
+
inputs=gr.Audio(sources=["microphone", "upload"], type="filepath"),
|
| 13 |
outputs="text",
|
| 14 |
title="Moroccan Darija Text-to-Speech",
|
| 15 |
description="Realtime demo for Moroccan Darija speech recognition.",
|