Ar4ikov commited on
Commit
1666f60
1 Parent(s): 302433f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def recognize(audio, state=""):
56
  interface = gr.Interface(
57
  fn=recognize,
58
  inputs=[
59
- gr.Audio(source="microphone", type="numpy", label="Скажите что-нибудь..."),
60
  "state"
61
  ],
62
  outputs=[
 
56
  interface = gr.Interface(
57
  fn=recognize,
58
  inputs=[
59
+ gr.inputs.Audio(source="microphone", type="numpy", label="Скажите что-нибудь..."),
60
  "state"
61
  ],
62
  outputs=[