소스 검색

fix code format

Davi S. Zucon 2 달 전
부모
커밋
b1224b6839
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      backend/open_webui/routers/images.py

+ 1 - 1
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"])