From 91799fd48bc0faa9f265c909e0d47b7cf5df915a Mon Sep 17 00:00:00 2001 From: lllyasviel Date: Wed, 31 Jan 2024 12:19:17 -0800 Subject: [PATCH] Update path_utils.py --- ldm_patched/utils/path_utils.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ldm_patched/utils/path_utils.py b/ldm_patched/utils/path_utils.py index 2a3ebc82..af96b523 100644 --- a/ldm_patched/utils/path_utils.py +++ b/ldm_patched/utils/path_utils.py @@ -5,12 +5,13 @@ supported_pt_extensions = set(['.ckpt', '.pt', '.bin', '.pth', '.safetensors']) folder_names_and_paths = {} -base_path = os.getcwd() -models_dir = os.path.join(base_path, "models") -output_directory = os.path.join(base_path, "output") -temp_directory = os.path.join(base_path, "temp") -input_directory = os.path.join(base_path, "input") -user_directory = os.path.join(base_path, "user") +# Will be assigned by modules.paths +base_path = None +models_dir = None +output_directory = None +temp_directory = None +input_directory = None +user_directory = None filename_list_cache = {}