khalidey commited on
Commit
b4fbd3e
1 Parent(s): 57970f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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=['text', 'text'],
 
 
 
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
  )