salkhon commited on
Commit
19b25e4
1 Parent(s): af3c684

Update README.md

Browse files

Nested double quote strings are not allowed for Python versions before 3.12.

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