DevashishBhake commited on
Commit
ab08598
·
1 Parent(s): 67c3c57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -93,9 +93,8 @@ def main(audio):
93
 
94
  gr.Interface(
95
  fn=main,
96
- inputs=[
97
- gr.inputs.Audio(source="upload", type="filepath")
98
- ],
99
  outputs=[
100
  "textbox"
101
  ],
 
93
 
94
  gr.Interface(
95
  fn=main,
96
+ inputs=[gr.Audio(source="upload", type="filepath", label="File"),
97
+ gr.Audio(source="microphone", type="filepath", streaming=False, label="Microphone")],
 
98
  outputs=[
99
  "textbox"
100
  ],