fix code format

This commit is contained in:
Davi S. Zucon 2025-03-11 12:40:31 -03:00 committed by GitHub
parent 453200ca1e
commit b1224b6839
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -517,7 +517,7 @@ async def image_generations(
images = []
for image in res["data"]:
if image_url := image.get("url",None):
if image_url := image.get("url", None):
image_data, content_type = load_url_image_data(image_url, headers)
else:
image_data, content_type = load_b64_image_data(image["b64_json"])