mouaddb commited on
Commit
83eb0b0
1 Parent(s): 2adc4b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def generate_captions(image):
53
  return caption_git_base, caption_git_large, caption_blip_base, caption_blip_large, caption_vitgpt
54
 
55
 
56
- examples = [["test-1.jpeg"], ["test-2.jpeg"], ["test-3.jpeg"]]
57
  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")]
58
 
59
 
 
53
  return caption_git_base, caption_git_large, caption_blip_base, caption_blip_large, caption_vitgpt
54
 
55
 
56
+ examples = [["test-1.jpeg"], ["test-2.jpeg"], ["test-3.jpeg"], ["test-4.jpeg"], ["test-5.jpeg"]]
57
  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")]
58
 
59