ruslanmv commited on
Commit
74f815b
1 Parent(s): 11e4a8c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -58,7 +58,7 @@ def generate_captions(image):
58
  return caption_git_base, caption_git_large, caption_blip_base, caption_blip_large, caption_vitgpt
59
 
60
 
61
- #examples = [["cats.jpg"], ["stop_sign.png"], ["astronaut.jpg"]]
62
  outputs = [gr.outputs.Textbox(label="Caption generated by GIT-base"), gr.outputs.Textbox(label="Caption generated by GIT-large"), gr.outputs.Textbox(label="Caption generated by BLIP-base"), gr.outputs.Textbox(label="Caption generated by BLIP-large"), gr.outputs.Textbox(label="Caption generated by ViT+GPT-2")]
63
 
64
  title = "Interactive demo: comparing image captioning models"
 
58
  return caption_git_base, caption_git_large, caption_blip_base, caption_blip_large, caption_vitgpt
59
 
60
 
61
+ examples = [["cat.jpg"], ["dog.jpg"], ["horse.jpg"]]
62
  outputs = [gr.outputs.Textbox(label="Caption generated by GIT-base"), gr.outputs.Textbox(label="Caption generated by GIT-large"), gr.outputs.Textbox(label="Caption generated by BLIP-base"), gr.outputs.Textbox(label="Caption generated by BLIP-large"), gr.outputs.Textbox(label="Caption generated by ViT+GPT-2")]
63
 
64
  title = "Interactive demo: comparing image captioning models"