From bb54fdd85ee75ac763f6cab8f26e4bc4f153fb8f Mon Sep 17 00:00:00 2001 From: jwkim Date: Fri, 17 Jan 2025 10:38:51 +0900 Subject: [PATCH] =?UTF-8?q?edit=20:=20=EC=83=81=EC=88=98=EA=B0=92=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_apps/dalle3/BingImageCreator.py | 2 +- rest/app/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_apps/dalle3/BingImageCreator.py b/custom_apps/dalle3/BingImageCreator.py index 242eaa1..e75442c 100644 --- a/custom_apps/dalle3/BingImageCreator.py +++ b/custom_apps/dalle3/BingImageCreator.py @@ -216,7 +216,7 @@ class ImageGenAsync: jpeg_index += 1 else: - _path = os.path.join(output_dir, f"{model}_{parsing_file_name}_{jpeg_index}_{D.date_file_name()}.png") + _path = os.path.join(output_dir, f"{model}_{parsing_file_name}_{jpeg_index}_{D.date_file_name()}.jpg") if os.path.exists(_path): raise Exception("파일 이미 존재함") diff --git a/rest/app/main.py b/rest/app/main.py index 1b71c24..a1665a1 100644 --- a/rest/app/main.py +++ b/rest/app/main.py @@ -93,7 +93,7 @@ def create_app(): # fast_api_app.include_router(dev.router, tags=['Developments'], prefix='/api', dependencies=[Depends(API_KEY_HEADER)]) import os - fast_api_app.mount('/static', StaticFiles(directory=os.path.abspath('./rest/app/static')), name="static") + # fast_api_app.mount('/static', StaticFiles(directory=os.path.abspath('./rest/app/static')), name="static") return fast_api_app