mtauro commited on
Commit
9cbb4d0
·
1 Parent(s): 2d499d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def detect_ad(audio):
39
  #
40
 
41
  gr.Interface(detect_ad,
42
- inputs = gr.inputs.Audio(source="microphone", type="filepath", optional=True, label="Please speak for 13-30 seconds"),
43
  outputs = gr.outputs.Textbox(label="Output Text"),
44
  title="AD Detection",
45
  description = "Testing",
 
39
  #
40
 
41
  gr.Interface(detect_ad,
42
+ inputs = gr.inputs.Audio(source="microphone", type="file", optional=True, label="Please speak for 13-30 seconds"),
43
  outputs = gr.outputs.Textbox(label="Output Text"),
44
  title="AD Detection",
45
  description = "Testing",