improvement: added "detail": "high" to image for chatgpt's benefit

This commit is contained in:
Yandrik 2024-02-02 13:47:38 +01:00
parent 906fcc78b1
commit 3d09cbbef8
1 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,8 @@ def image_to_anki(image_paths: str | list[str]) -> tuple[str | None, Any]:
] + [{
"type": "image_url",
"image_url": {
"url": f"data:image/jpeg;base64,{base64_image}"
"url": f"data:image/jpeg;base64,{base64_image}",
"detail": "high"
}
}
for base64_image in images]