Преглед на файлове

fix code format

fix code format
Davi S. Zucon преди 7 месеца
родител
ревизия
453200ca1e
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 3
      backend/open_webui/routers/images.py

+ 1 - 3
backend/open_webui/routers/images.py

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