Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,8 @@ def transcribe_audio(audio):
|
|
12 |
# Gradio interface
|
13 |
iface = gr.Interface(
|
14 |
fn=transcribe_audio,
|
15 |
-
|
|
|
16 |
outputs="text",
|
17 |
title="Darija Audio Transcription",
|
18 |
description="Upload an audio file in Darija to get the transcription."
|
|
|
12 |
# Gradio interface
|
13 |
iface = gr.Interface(
|
14 |
fn=transcribe_audio,
|
15 |
+
|
16 |
+
inputs=gr.Audio(type="filepath"),
|
17 |
outputs="text",
|
18 |
title="Darija Audio Transcription",
|
19 |
description="Upload an audio file in Darija to get the transcription."
|