Icar commited on
Commit
ac30ff3
1 Parent(s): 7ff2284

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def main(filename):
72
  output = text_file(answer)
73
  return output
74
 
75
- demo = gr.Interface(main, gr.inputs.Audio(source="microphone", type="filepath", optional=True), "audio")
76
 
77
  if __name__ == "__main__":
78
  demo.launch()
 
72
  output = text_file(answer)
73
  return output
74
 
75
+ demo = gr.Interface(main, "audio", "audio")
76
 
77
  if __name__ == "__main__":
78
  demo.launch()