Edward Nagy commited on
Commit
05d486c
·
unverified ·
1 Parent(s): 32ebaf4

Fix audio input type in app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="file", 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."
 
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."