sqlalchemy

This commit is contained in:
JeLuF 2023-07-25 20:30:23 +02:00
parent d03f16cbd3
commit eb58bf0a4d
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ SD_UI_DIR = os.getenv("SD_UI_PATH", None)
CONFIG_DIR = os.path.abspath(os.path.join(SD_UI_DIR, "..", "scripts")) CONFIG_DIR = os.path.abspath(os.path.join(SD_UI_DIR, "..", "scripts"))
MODELS_DIR = os.path.abspath(os.path.join(SD_DIR, "..", "models")) MODELS_DIR = os.path.abspath(os.path.join(SD_DIR, "..", "models"))
BUCKET_DIR = os.path.abspath(os.path.join(SD_DIR, "..", "bucket"))
USER_PLUGINS_DIR = os.path.abspath(os.path.join(SD_DIR, "..", "plugins")) USER_PLUGINS_DIR = os.path.abspath(os.path.join(SD_DIR, "..", "plugins"))
CORE_PLUGINS_DIR = os.path.abspath(os.path.join(SD_UI_DIR, "plugins")) CORE_PLUGINS_DIR = os.path.abspath(os.path.join(SD_UI_DIR, "plugins"))

View File

@ -8,7 +8,7 @@ import os
import traceback import traceback
from typing import List, Union from typing import List, Union
from easydiffusion import app, model_manager, task_manager from easydiffusion import app, model_manager, task_manager, bucket_manager
from easydiffusion.types import GenerateImageRequest, MergeRequest, TaskData from easydiffusion.types import GenerateImageRequest, MergeRequest, TaskData
from easydiffusion.utils import log from easydiffusion.utils import log
from fastapi import FastAPI, HTTPException from fastapi import FastAPI, HTTPException