abidlabs HF staff commited on
Commit
4b5fdf7
·
verified ·
1 Parent(s): c92a2d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ def auth(username: str, passwd: str) -> bool:
9
  def main():
10
  demo = gr.Interface(
11
  fn=func,
12
- inputs=[gr.Textbox()],
13
- outputs=[gr.Textbox()],
14
  )
15
  demo.queue(api_open=True)
16
  demo.launch(
 
9
  def main():
10
  demo = gr.Interface(
11
  fn=func,
12
+ inputs=[gr.File()],
13
+ outputs=[gr.File()],
14
  )
15
  demo.queue(api_open=True)
16
  demo.launch(