Spaces:
Runtime error
Runtime error
Commit
·
84d64d1
1
Parent(s):
1c7edee
Fixed audio sources problem
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def transcribe(audio):
|
|
13 |
|
14 |
iface = gr.Interface(
|
15 |
fn=transcribe,
|
16 |
-
inputs=gr.Audio(
|
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",
|