Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def generate_captions(image):
|
|
96 |
|
97 |
|
98 |
examples = [["cats.jpg"], ["stop_sign.png"], ["astronaut.jpg"]]
|
99 |
-
outputs = [gr.outputs.Textbox(label="Caption generated by GIT-large fine-tuned on COCO"), gr.outputs.Textbox(label="Caption generated by
|
100 |
|
101 |
title = "Interactive demo: comparing image captioning models"
|
102 |
description = "Gradio Demo to compare GIT, BLIP, CoCa, and BLIP-2, 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."
|
|
|
96 |
|
97 |
|
98 |
examples = [["cats.jpg"], ["stop_sign.png"], ["astronaut.jpg"]]
|
99 |
+
outputs = [gr.outputs.Textbox(label="Caption generated by GIT-large fine-tuned on COCO"), gr.outputs.Textbox(label="Caption generated by BLIP-large"), gr.outputs.Textbox(label="Caption generated by CoCa"), gr.outputs.Textbox(label="Caption generated by BLIP-2 OPT 6.7b")]
|
100 |
|
101 |
title = "Interactive demo: comparing image captioning models"
|
102 |
description = "Gradio Demo to compare GIT, BLIP, CoCa, and BLIP-2, 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."
|