fix img2img operation in Dall2 node (#10552)

This commit is contained in:
Alexander Piskun 2025-10-30 19:22:35 +02:00 committed by GitHub
parent 163b629c70
commit dfac94695b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -225,7 +225,7 @@ class OpenAIDalle2(ComfyNodeABC):
), ),
files=( files=(
{ {
"image": img_binary, "image": ("image.png", img_binary, "image/png"),
} }
if img_binary if img_binary
else None else None