From b1224b6839e88fec57c3869e453240c6f7c64f6d Mon Sep 17 00:00:00 2001 From: "Davi S. Zucon" Date: Tue, 11 Mar 2025 12:40:31 -0300 Subject: [PATCH] fix code format --- backend/open_webui/routers/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/routers/images.py b/backend/open_webui/routers/images.py index fa124e8fe..275704f34 100644 --- a/backend/open_webui/routers/images.py +++ b/backend/open_webui/routers/images.py @@ -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"])