Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,11 @@ iface = gr.Interface(
|
|
34 |
gr.Audio(source="microphone", type="filepath", interactive=True),
|
35 |
gr.Audio(source="upload", type="filepath", interactive=True),
|
36 |
gr.Text(label="URL (YouTube, etc.)")],
|
37 |
-
outputs="text",
|
|
|
|
|
|
|
|
|
38 |
title="Whisper Small Swedish",
|
39 |
description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model.",
|
40 |
)
|
|
|
34 |
gr.Audio(source="microphone", type="filepath", interactive=True),
|
35 |
gr.Audio(source="upload", type="filepath", interactive=True),
|
36 |
gr.Text(label="URL (YouTube, etc.)")],
|
37 |
+
#outputs="text",
|
38 |
+
outputs=[
|
39 |
+
gr.File(label="Download"),
|
40 |
+
gr.Text(label="Text"),
|
41 |
+
gr.Text(label="Segments")],
|
42 |
title="Whisper Small Swedish",
|
43 |
description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model.",
|
44 |
)
|