From f66d5cf7deea00d29af0275a7a00551cc3f98a50 Mon Sep 17 00:00:00 2001 From: bezo97 Date: Thu, 26 Dec 2024 11:19:58 +0100 Subject: [PATCH] revert changes in folder_paths --- folder_paths.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/folder_paths.py b/folder_paths.py index 796affa5f..61de51202 100644 --- a/folder_paths.py +++ b/folder_paths.py @@ -39,10 +39,10 @@ folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")] folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""}) -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") +output_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "output") +temp_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "temp") +input_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "input") +user_directory = os.path.join(os.path.dirname(os.path.realpath(__file__)), "user") filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}