brdhaker3 commited on
Commit
3b3065c
1 Parent(s): b61d4d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -434,7 +434,7 @@ gr.Interface(
434
  title = title,
435
  description = description,
436
  fn=treat_wav_file,
437
- inputs=[gr.Audio(source="microphone", type='filepath', label = "record", optional = True),
438
- gr.Audio(source="upload", type='filepath', label="filein", optional=True)]
439
  ,outputs="text").launch()
440
 
 
434
  title = title,
435
  description = description,
436
  fn=treat_wav_file,
437
+ inputs=[gr.Audio(sources="microphone", type='filepath', label = "record"),
438
+ gr.Audio(sources="upload", type='filepath', label="filein")]
439
  ,outputs="text").launch()
440