mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-10-28 04:17:53 +08:00
Revert main.py changes.
This commit is contained in:
parent
9ffa089474
commit
ed1dc654fb
6
main.py
6
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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user