Fiqa commited on
Commit
252a605
·
verified ·
1 Parent(s): f469466

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def generate_caption_and_image(image):
54
  img = image.convert("RGB")
55
  # reader = easyocr.Reader(['en'])
56
  # # result = reader.readtext(img)
57
- # import random
58
  # messages = [{"role": "user", "content": [{"type": "image", "image": img}, {"type": "text", "text": "Describe this Image"}]}]
59
 
60
  # text = processor.apply_chat_template(
 
54
  img = image.convert("RGB")
55
  # reader = easyocr.Reader(['en'])
56
  # # result = reader.readtext(img)
57
+ import random
58
  # messages = [{"role": "user", "content": [{"type": "image", "image": img}, {"type": "text", "text": "Describe this Image"}]}]
59
 
60
  # text = processor.apply_chat_template(