Spaces:
Runtime error
Runtime error
Edward Nagy
commited on
Fix audio input type in app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ iface_video = gr.Interface(
|
|
48 |
|
49 |
iface_audio = gr.Interface(
|
50 |
fn=transcribe,
|
51 |
-
inputs=gr.Audio(sources=["microphone"], type="
|
52 |
outputs="text",
|
53 |
title="Whisper Small Hungarian - Microphone",
|
54 |
description="Realtime demo for Hungarian speech recognition using a fine-tuned Whisper small model. Record your voice to transcribe."
|
|
|
48 |
|
49 |
iface_audio = gr.Interface(
|
50 |
fn=transcribe,
|
51 |
+
inputs=gr.Audio(sources=["microphone"], type="filepath", label="Or record your voice"),
|
52 |
outputs="text",
|
53 |
title="Whisper Small Hungarian - Microphone",
|
54 |
description="Realtime demo for Hungarian speech recognition using a fine-tuned Whisper small model. Record your voice to transcribe."
|