Spaces:
Runtime error
Runtime error
Update app.py
#1
by
Davidkryckan
- opened
app.py
CHANGED
@@ -23,14 +23,17 @@ url_demo = gr.Interface(
|
|
23 |
fn=transcribeUrl,
|
24 |
examples=url_examples,
|
25 |
inputs="text",
|
26 |
-
outputs="text"
|
|
|
|
|
|
|
27 |
|
28 |
voice_demo = gr.Interface(
|
29 |
fn=transcribe,
|
30 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
31 |
outputs="text",
|
32 |
title="Whisper Small Swedish",
|
33 |
-
description="
|
34 |
)
|
35 |
|
36 |
demo = gr.TabbedInterface([url_demo, voice_demo], ["video-to-text", "voice-to-text"])
|
|
|
23 |
fn=transcribeUrl,
|
24 |
examples=url_examples,
|
25 |
inputs="text",
|
26 |
+
outputs="text",
|
27 |
+
title="Whisper Small Swedish",
|
28 |
+
description="Swedish speech and audio recognition using a fine-tuned Whipser small model",
|
29 |
+
)
|
30 |
|
31 |
voice_demo = gr.Interface(
|
32 |
fn=transcribe,
|
33 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
34 |
outputs="text",
|
35 |
title="Whisper Small Swedish",
|
36 |
+
description="Swedish speech and audio recognition using a fine-tuned Whipser small model",
|
37 |
)
|
38 |
|
39 |
demo = gr.TabbedInterface([url_demo, voice_demo], ["video-to-text", "voice-to-text"])
|