aikitty commited on
Commit
563e0ed
·
verified ·
1 Parent(s): a843b99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def speech_to_text(audio):
27
  # Create the Gradio interface
28
  iface = gr.Interface(
29
  fn=speech_to_text,
30
- inputs=gr.Audio(source="upload", type="filepath"),
31
  outputs=gr.Textbox(),
32
  title="Chinese Speech Recognition",
33
  description="Upload an audio file and get the transcribed text using the wav2vec2-large-xlsr-53-chinese-zh-cn model."
 
27
  # Create the Gradio interface
28
  iface = gr.Interface(
29
  fn=speech_to_text,
30
+ inputs=gr.Audio(type="filepath"),
31
  outputs=gr.Textbox(),
32
  title="Chinese Speech Recognition",
33
  description="Upload an audio file and get the transcribed text using the wav2vec2-large-xlsr-53-chinese-zh-cn model."