Spaces:
Runtime error
Runtime error
Commit
·
675be42
1
Parent(s):
a279226
Update app.py
Browse files
app.py
CHANGED
@@ -15,11 +15,11 @@ def transcribe(audio):
|
|
15 |
return text
|
16 |
|
17 |
iface = gr.Interface(
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
|
25 |
iface.launch()
|
|
|
15 |
return text
|
16 |
|
17 |
iface = gr.Interface(
|
18 |
+
fn=transcribe,
|
19 |
+
inputs=[gr.Audio(source="microphone", type="filepath")],
|
20 |
+
outputs=["text"],
|
21 |
+
title="Whisper Small Dutch",
|
22 |
+
description="Realtime demo for Dutch speech recognition using a fine-tuned Whisper small model.",
|
23 |
+
)
|
24 |
|
25 |
iface.launch()
|