edit : clip-vit 모델 추가
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user