Spaces:
Running
Running
ayoubkirouane
commited on
Commit
•
889a041
1
Parent(s):
66f1371
Update app.py
Browse files
app.py
CHANGED
@@ -9,9 +9,10 @@ def transcribe(audio):
|
|
9 |
|
10 |
iface = gr.Interface(
|
11 |
fn=transcribe,
|
12 |
-
inputs=gr.Audio(
|
13 |
outputs="text",
|
14 |
title="Whisper Small Arabic",
|
15 |
description="Realtime demo for Arabic speech recognition using a fine-tuned Whisper small model.",
|
16 |
)
|
17 |
-
|
|
|
|
9 |
|
10 |
iface = gr.Interface(
|
11 |
fn=transcribe,
|
12 |
+
inputs=gr.Audio(type="filepath"),
|
13 |
outputs="text",
|
14 |
title="Whisper Small Arabic",
|
15 |
description="Realtime demo for Arabic speech recognition using a fine-tuned Whisper small model.",
|
16 |
)
|
17 |
+
|
18 |
+
iface.launch()
|