Merge branch 'beta' into tjcomserv-patch-1-pydantic

This commit is contained in:
cmdr2
2024-12-11 11:19:58 +05:30
committed by GitHub
37 changed files with 2526 additions and 462 deletions

View File

@ -34,6 +34,7 @@ modules_to_check = {
"sqlalchemy": "2.0.19",
"python-multipart": "0.0.6",
# "xformers": "0.0.16",
"onnxruntime": "1.19.2",
"huggingface-hub": "0.21.4",
}
modules_to_log = ["torch", "torchvision", "sdkit", "stable-diffusion-sdkit", "diffusers"]
@ -298,7 +299,7 @@ Thanks!"""
def get_config():
config_directory = os.path.dirname(__file__) # this will be "scripts"
config_yaml = os.path.join(config_directory, "..", "config.yaml")
config_yaml = os.path.abspath(os.path.join(config_directory, "..", "config.yaml"))
config_json = os.path.join(config_directory, "config.json")
config = None