update config

This commit is contained in:
minkhant1996-dev 2024-10-31 17:53:02 +07:00
parent 2cc0670da9
commit f411bf6b0d
2 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,8 @@ with open(os.path.join(base_path, "min-comfyui-config.yaml"), "r") as f:
models_folder = config["models_folder"]
else:
models_folder = "models"
print("models_folder", models_folder)
models_dir = os.path.join("/".join(base_path.split("/")[:-1]), models_folder)
print("models_dir", models_dir)
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)

View File

@ -1,2 +1,2 @@
models_folder: /home/minkhant/Documents/BrookAI/AI_MODELS
models_folder: AI_MODELS