fffiloni commited on
Commit
966a778
·
verified ·
1 Parent(s): 7f8f2ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,6 +13,6 @@ def infer(image_in, question):
13
 
14
  gr.Interface(
15
  fn=infer,
16
- inputs=[gr.Image(), gr.Textbox()],
17
  outputs=[gr.Textbox()]
18
  ).queue().launch()
 
13
 
14
  gr.Interface(
15
  fn=infer,
16
+ inputs=[gr.Image(type="filepath"), gr.Textbox()],
17
  outputs=[gr.Textbox()]
18
  ).queue().launch()