spycoder commited on
Commit
8fb8c7f
1 Parent(s): 74c67f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -80,8 +80,9 @@ def predict(file_path,microphone_path):
80
  gr.Interface(
81
  fn=predict,
82
  inputs=[
83
- gr.inputs.Audio(source="upload", type="file", optional=True),
84
- gr.inputs.Audio(source="microphone", type="file", optional=True),
 
85
  ],
86
  outputs="text",
87
  title=title,
 
80
  gr.Interface(
81
  fn=predict,
82
  inputs=[
83
+ # gr.inputs.Audio(source="upload", type="filepath", optional=True),
84
+ # gr.inputs.Audio(source="microphone", type="filepath", optional=True),
85
+ "file","file"
86
  ],
87
  outputs="text",
88
  title=title,