andgrt commited on
Commit
c602ea4
·
1 Parent(s): 658a6fd

fix gr.Audio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ speech_interface = gr.Interface(
101
  fn=transcribe,
102
  inputs=[
103
  gr.Image(type="pil"),
104
- gr.Audio(source="microphone", label="Голосовой ввод"),
105
  ],
106
  outputs=gr.Textbox(label="Распознанный текст"),
107
  live=True,
 
101
  fn=transcribe,
102
  inputs=[
103
  gr.Image(type="pil"),
104
+ gr.Audio(sources="microphone", label="Голосовой ввод"),
105
  ],
106
  outputs=gr.Textbox(label="Распознанный текст"),
107
  live=True,