Lancelot53 salkhon commited on
Commit
b261ad2
·
verified ·
1 Parent(s): af3c684

Update README.md (#1)

Browse files

- Update README.md (19b25e47acaa7dc0ffbcdbcc10d32bf955374ab5)


Co-authored-by: Salman Khondker <[email protected]>

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -81,7 +81,7 @@ def add_row(content, data, i, with_answer=False):
81
  content.append({ "type": "text",
82
  "text": "Image " + str(i) + ": " + data["question"] + "\n" + mcq })
83
  content.append({ "type": "image_url",
84
- "image_url": {"url": f"data:image/jpeg;base64,{encode_image(data["image"])}",
85
  "detail": "low"}})
86
  if with_answer:
87
  content.append({"type": "text", "text": "Answer {}: ".format(i) + correct_option_letter})
 
81
  content.append({ "type": "text",
82
  "text": "Image " + str(i) + ": " + data["question"] + "\n" + mcq })
83
  content.append({ "type": "image_url",
84
+ "image_url": {"url": f"data:image/jpeg;base64,{encode_image(data['image'])}",
85
  "detail": "low"}})
86
  if with_answer:
87
  content.append({"type": "text", "text": "Answer {}: ".format(i) + correct_option_letter})