fabianzeiher commited on
Commit
84d64d1
·
1 Parent(s): 1c7edee

Fixed audio sources problem

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def transcribe(audio):
13
 
14
  iface = gr.Interface(
15
  fn=transcribe,
16
- inputs=gr.Audio(source="microphone", type="filepath"),
17
  outputs=[gr.Textbox(label="Fine-tuned transcription"),
18
  gr.Textbox(label="Whisper Transcription")],
19
  title="Finetuned Whisper Swedish Small",
 
13
 
14
  iface = gr.Interface(
15
  fn=transcribe,
16
+ inputs=gr.Audio(sources=["microphone"], type="filepath"),
17
  outputs=[gr.Textbox(label="Fine-tuned transcription"),
18
  gr.Textbox(label="Whisper Transcription")],
19
  title="Finetuned Whisper Swedish Small",