From ed1dc654fb647fab515ec5bc35d5b9e0c2371955 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Tue, 28 Jan 2025 23:32:57 +1100 Subject: [PATCH] Revert main.py changes. --- main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.py b/main.py index 9ea4ee534..c5c9f4e09 100644 --- a/main.py +++ b/main.py @@ -20,12 +20,6 @@ if __name__ == "__main__": setup_logger(log_level=args.verbose, use_stdout=args.log_stdout) def apply_custom_paths(): - # --base-directory - Resets all default paths configured in folder_paths with a new base path - if args.base_directory: - new_base_path = os.path.abspath(args.base_directory) - logging.info(f"Setting base directory to: {new_base_path}") - folder_paths.reset_all_paths(new_base_path) - # extra model paths extra_model_paths_config_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "extra_model_paths.yaml") if os.path.isfile(extra_model_paths_config_path):