nielsr HF staff commited on
Commit
0799604
1 Parent(s): 8c8398d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def generate_answers(image, question):
80
  return answer_git_base, answer_git_large, answer_blip_base, answer_blip_large, answer_vilt
81
 
82
 
83
- examples = [["cats.jpg"], ["stop_sign.png"], ["astronaut.jpg"]]
84
  outputs = [gr.outputs.Textbox(label="Answer generated by GIT-base"), gr.outputs.Textbox(label="Answer generated by GIT-large"), gr.outputs.Textbox(label="Answer generated by BLIP-base"), gr.outputs.Textbox(label="Answer generated by BLIP-large"), gr.outputs.Textbox(label="Answer generated by ViLT")]
85
 
86
  title = "Interactive demo: comparing visual question answering (VQA) models"
 
80
  return answer_git_base, answer_git_large, answer_blip_base, answer_blip_large, answer_vilt
81
 
82
 
83
+ examples = [["cats.jpg", "How many cats are there?"], ["stop_sign.png", "What's behind the stop sign?"], ["astronaut.jpg", "What's the astronaut riding on?"]]
84
  outputs = [gr.outputs.Textbox(label="Answer generated by GIT-base"), gr.outputs.Textbox(label="Answer generated by GIT-large"), gr.outputs.Textbox(label="Answer generated by BLIP-base"), gr.outputs.Textbox(label="Answer generated by BLIP-large"), gr.outputs.Textbox(label="Answer generated by ViLT")]
85
 
86
  title = "Interactive demo: comparing visual question answering (VQA) models"