diff --git a/comfy_cli/command/models/models.py b/comfy_cli/command/models/models.py index 9aee451..6ef2514 100644 --- a/comfy_cli/command/models/models.py +++ b/comfy_cli/command/models/models.py @@ -305,6 +305,9 @@ def download( ) print(f"Model downloaded successfully to: {output_path}") else: + headers = { + "Accept-Encoding": "identity", # Prevent gzip and chunking. Chunking breaks Content-Length, which is needed for progress bars in download_file. Also, gzip is slower. + } print(f"Start downloading URL: {url} into {local_filepath}") download_file(url, local_filepath, headers)