kasun commited on
Commit
61cfb66
·
1 Parent(s): d6f5b20

fixed a bug

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def generate_captions(image):
95
  # caption_blip2_8_bit = generate_caption(blip2_processor_8_bit, blip2_model_8_bit, image, use_float_16=True).strip()
96
 
97
  # return caption_git_large_coco, caption_git_large_textcaps, caption_blip_large, caption_coca, caption_blip2_8_bit
98
- return caption_blip_base
99
 
100
 
101
 
 
95
  # caption_blip2_8_bit = generate_caption(blip2_processor_8_bit, blip2_model_8_bit, image, use_float_16=True).strip()
96
 
97
  # return caption_git_large_coco, caption_git_large_textcaps, caption_blip_large, caption_coca, caption_blip2_8_bit
98
+ return caption_git_base, caption_blip_base
99
 
100
 
101