edit : clip-vit 모델 추가

This commit is contained in:
2025-07-08 17:20:32 +09:00
parent 4c2ea70289
commit 309a91bda6
24 changed files with 1395 additions and 40 deletions

View File

@@ -6,8 +6,9 @@ from bingart import BingArt
from custom_apps.utils import cookie_manager
from main_rest.app.utils.parsing_utils import prompt_to_filenames
from main_rest.app.utils.date_utils import D
from const import REMOTE_FOLDER, TEMP_FOLDER
from const import TEMP_FOLDER
from utils.custom_sftp import sftp_client
from config import rest_config
class BingArtGenerator:
@@ -15,7 +16,7 @@ class BingArtGenerator:
model = 'dalle3'
detail = 'art'
output_folder = os.path.join(TEMP_FOLDER,"dalle","art")
remote_folder = os.path.join(REMOTE_FOLDER,"dalle","art")
remote_folder = os.path.join(rest_config.remote_folder,"dalle","art")
def __init__(self):
self.bing_art = BingArt(auth_cookie_U=cookie_manager.get_cookie())