Forgot to remove the reference b64 image method used in another project

This commit is contained in:
Carlos-Mesquita
2024-12-10 22:28:23 +00:00
parent a9a5e17b24
commit 0222c339fe

View File

@@ -1,10 +0,0 @@
def _b64_vision_images(path: str):
for filename in os.listdir(path):
if filename.startswith("cv-") and filename.endswith(".png"):
cv_dict.append({
"type": "image_url",
"image_url": {
"url": f"data:image/png;base64,{_encode_image(os.path.join(path, filename))}"
}
})
return cv_dict