Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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-
|
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."
|