Lancelot53
commited on
Commit
•
230e55c
1
Parent(s):
9d9462b
Update README.md
Browse files
README.md
CHANGED
@@ -80,7 +80,7 @@ def add_row(content, data, i, with_answer=False):
|
|
80 |
content.append({ "type": "text",
|
81 |
"text": "Image " + str(i) + ": " + data["question"] + "\n" + mcq })
|
82 |
content.append({ "type": "image_url",
|
83 |
-
"image_url": {"url": f"data:image/jpeg;base64,{encode_image(data[
|
84 |
"detail": "low"}})
|
85 |
if with_answer:
|
86 |
content.append({"type": "text", "text": "Answer {}: ".format(i) + correct_option_letter})
|
|
|
80 |
content.append({ "type": "text",
|
81 |
"text": "Image " + str(i) + ": " + data["question"] + "\n" + mcq })
|
82 |
content.append({ "type": "image_url",
|
83 |
+
"image_url": {"url": f"data:image/jpeg;base64,{encode_image(data['image'])}",
|
84 |
"detail": "low"}})
|
85 |
if with_answer:
|
86 |
content.append({"type": "text", "text": "Answer {}: ".format(i) + correct_option_letter})
|