diff --git a/fooocus_api_version.py b/fooocus_api_version.py index aea1cc4..7bbb0ab 100644 --- a/fooocus_api_version.py +++ b/fooocus_api_version.py @@ -1 +1 @@ -version = '0.1.17' \ No newline at end of file +version = '0.1.18' \ No newline at end of file diff --git a/main.py b/main.py index e5508dd..b9fe9ba 100644 --- a/main.py +++ b/main.py @@ -259,9 +259,10 @@ def prepare_environments(args) -> bool: os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = "1" sys.argv = [sys.argv[0]] - download_models() ini_cbh_args() + download_models() + if args.preload_pipeline: print("Preload pipeline") import modules.default_pipeline as _