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})