mouaddb commited on
Commit
803b91d
1 Parent(s): 4d8cba4

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.jpg"], ["test-2.jpg"], ["test-3.jpg"], ["test-4.jpg"] , ["test-5.jpg"], ["test-6.jpg"], ["test-7.jpg"]]
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"]]
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