rutsam commited on
Commit
c5985a0
1 Parent(s): 68585be

change to filepath

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ gradio_ui = gr.Interface(
31
  fn=transcribe,
32
  title="East african languages Speech Recognition",
33
  description="Upload an audio clip or record from browser using microphone, and let AI do the hard work of transcribing. The supported languages are Kinyarwanda, Swahili and Luganda",
34
- inputs=[gr.inputs.Audio(label="Upload Audio File", type="filepath", optional=True), gr.inputs.Audio(source="microphone", type="file", optional=True, label="Record from microphone")],
35
  outputs=[gr.outputs.Textbox(label="Recognized speech")]
36
  )
37
  gradio_ui.launch(enable_queue=True)
 
31
  fn=transcribe,
32
  title="East african languages Speech Recognition",
33
  description="Upload an audio clip or record from browser using microphone, and let AI do the hard work of transcribing. The supported languages are Kinyarwanda, Swahili and Luganda",
34
+ inputs=[gr.inputs.Audio(label="Upload Audio File", type="filepath", optional=True), gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Record from microphone")],
35
  outputs=[gr.outputs.Textbox(label="Recognized speech")]
36
  )
37
  gradio_ui.launch(enable_queue=True)