Arnab Das commited on
Commit
e75c5f3
·
1 Parent(s): 68f4f35

bug fix gradio audio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ demo = gr.Blocks()
8
  file_proc = gr.Interface(
9
  fn=process,
10
  inputs=[
11
- gr.Audio(source="upload", optional=True, label="Audio file", type="filepath"),
12
  gr.Radio(["SSL-AASIST (Trained on ASV-Spoof5)", "AASIST"], label="Select Model", default="SSL-AASIST (Trained on ASV-Spoof5)"),
13
  ],
14
  outputs="text",
 
8
  file_proc = gr.Interface(
9
  fn=process,
10
  inputs=[
11
+ gr.Audio(sources=["upload"], label="Audio file", type="filepath"),
12
  gr.Radio(["SSL-AASIST (Trained on ASV-Spoof5)", "AASIST"], label="Select Model", default="SSL-AASIST (Trained on ASV-Spoof5)"),
13
  ],
14
  outputs="text",