Chrysoula commited on
Commit
e14e7c5
·
1 Parent(s): e04a13a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
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
- iface.launch()
 
 
 
 
 
 
 
 
 
 
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()