nielsr HF staff commited on
Commit
8e55ef5
·
1 Parent(s): 2d29620

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def generate_captions(image):
82
 
83
 
84
  examples = [["cats.jpg"], ["stop_sign.png"], ["astronaut.jpg"]]
85
- outputs = [gr.outputs.Textbox(label="Caption generated by GIT-base fine-tuned on COCO"), gr.outputs.Textbox(label="Caption generated by GIT-large fine-tuned on TextCaps"), gr.outputs.Textbox(label="Caption generated by BLIP-large"), gr.outputs.Textbox(label="Caption generated by ViT+GPT-2"), gr.outputs.Textbox(label="Caption generated by CoCa")]
86
 
87
  title = "Interactive demo: comparing image captioning models"
88
  description = "Gradio Demo to compare GIT, BLIP, ViT+GPT2 and CoCa, 4 state-of-the-art vision+language models. To use it, simply upload your image and click 'submit', or click one of the examples to load them. Read more at the links below."
 
82
 
83
 
84
  examples = [["cats.jpg"], ["stop_sign.png"], ["astronaut.jpg"]]
85
+ outputs = [gr.outputs.Textbox(label="Caption generated by GIT-large fine-tuned on COCO"), gr.outputs.Textbox(label="Caption generated by GIT-large fine-tuned on TextCaps"), gr.outputs.Textbox(label="Caption generated by BLIP-large"), gr.outputs.Textbox(label="Caption generated by ViT+GPT-2"), gr.outputs.Textbox(label="Caption generated by CoCa")]
86
 
87
  title = "Interactive demo: comparing image captioning models"
88
  description = "Gradio Demo to compare GIT, BLIP, ViT+GPT2 and CoCa, 4 state-of-the-art vision+language models. To use it, simply upload your image and click 'submit', or click one of the examples to load them. Read more at the links below."