rutsam commited on
Commit
ebd8a52
β€’
1 Parent(s): c5985a0

revert to gradio version 3.11

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸš€
4
  colorFrom: red
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: 3.19.1
8
  app_file: app.py
9
  pinned: false
10
  ---
 
4
  colorFrom: red
5
  colorTo: blue
6
  sdk: gradio
7
+ sdk_version: 3.11.0
8
  app_file: app.py
9
  pinned: false
10
  ---
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="filepath", 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="file", 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)