Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,4 +15,13 @@ iface = gr.Interface(
|
|
15 |
description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model.",
|
16 |
)
|
17 |
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model.",
|
16 |
)
|
17 |
|
18 |
+
iface2 = gr.Interface(
|
19 |
+
fn=transcribe,
|
20 |
+
inputs=gr.Audio(source="microphone", type="filepath"),
|
21 |
+
outputs="text",
|
22 |
+
title="Whisper Small Swedish",
|
23 |
+
description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model.",
|
24 |
+
)
|
25 |
+
|
26 |
+
iface.launch()
|
27 |
+
iface2.launch()
|