diff --git a/fooocus_api_version.py b/fooocus_api_version.py index 46eb713..862074e 100644 --- a/fooocus_api_version.py +++ b/fooocus_api_version.py @@ -1 +1 @@ -version = '0.3.3' \ No newline at end of file +version = '0.3.4' \ No newline at end of file diff --git a/main.py b/main.py index f540002..e05925e 100644 --- a/main.py +++ b/main.py @@ -245,6 +245,9 @@ def prepare_environments(args) -> bool: f"Invalid value for argument '--sync-repo', acceptable value are 'skip' and 'only'") exit(1) + if not skip_sync_repo: + download_repositories() + preset_json = None if args.preset is not None: # Remove and copy preset folder @@ -278,9 +281,6 @@ def prepare_environments(args) -> bool: if args.disable_private_log: worker.save_log = False - if not skip_sync_repo: - download_repositories() - if args.base_url is None or len(args.base_url.strip()) == 0: host = args.host if host == '0.0.0.0':