mixklim commited on
Commit
ed31e4d
·
verified ·
1 Parent(s): d842fb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -18,9 +18,10 @@ def launch(pil_image, question):
18
  iface = gr.Interface(fn=launch,
19
  inputs=[gr.Image(label="Input image", type='pil'),
20
  gr.Textbox(label="Question", lines=3)],
21
- outputs=gr.Textbox(label="Answer", lines=3),
22
  title="Image Q&A with Salesforce BLIP",
23
  description="Get answers on questions about any image using the BLIP model",
24
- allow_flagging="never",
 
25
 
26
  iface.launch()
 
18
  iface = gr.Interface(fn=launch,
19
  inputs=[gr.Image(label="Input image", type='pil'),
20
  gr.Textbox(label="Question", lines=3)],
21
+ outputs=[gr.Textbox(label="Answer", lines=3)],
22
  title="Image Q&A with Salesforce BLIP",
23
  description="Get answers on questions about any image using the BLIP model",
24
+ allow_flagging="never"
25
+ )
26
 
27
  iface.launch()