Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,10 @@ def transcribe(audio):
|
|
12 |
iface = gr.Interface(
|
13 |
fn=transcribe,
|
14 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
15 |
-
outputs=[
|
|
|
|
|
|
|
16 |
title="Whisper Small Swedish + Swedish GPT",
|
17 |
description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model and text generation with Swedish GPT.",
|
18 |
)
|
|
|
12 |
iface = gr.Interface(
|
13 |
fn=transcribe,
|
14 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
15 |
+
outputs=[
|
16 |
+
gr.Textbox(label='Transcribed Speech'),
|
17 |
+
gr.Textbox(label='Swedish GPT Generated Speech')
|
18 |
+
],
|
19 |
title="Whisper Small Swedish + Swedish GPT",
|
20 |
description="Realtime demo for Swedish speech recognition using a fine-tuned Whisper small model and text generation with Swedish GPT.",
|
21 |
)
|