Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def transcribe(audio):
|
|
15 |
# Gradio interface
|
16 |
interface = gr.Interface(
|
17 |
fn=transcribe,
|
18 |
-
inputs=gr.Audio(
|
19 |
outputs="text",
|
20 |
title="Whisper Voice Transcription with Hugging Face"
|
21 |
)
|
|
|
15 |
# Gradio interface
|
16 |
interface = gr.Interface(
|
17 |
fn=transcribe,
|
18 |
+
inputs=gr.Audio(sources="microphone", type="filepath"),
|
19 |
outputs="text",
|
20 |
title="Whisper Voice Transcription with Hugging Face"
|
21 |
)
|