runtime error
Exit code: 1. Reason: ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1194, in _hf_hub_download_to_cache_dir _raise_on_head_call_error(head_call_error, force_download, local_files_only) File "/usr/local/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1953, in _raise_on_head_call_error raise head_call_error huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6ac7b2eb-024b21ed0d32f9f20dcacb30;8a967367-ed2b-4ece-9a2c-ccd7429f38c4) Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.2-dev/resolve/26afe3a78bb242c0a8bb181dcc8937bb16e5c66c/transformer/config.json. Access to model black-forest-labs/FLUX.2-dev is restricted. You must have access to it and be authenticated to access it. Please log in. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/app.py", line 63, in <module> dit = Flux2Transformer2DModel.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/diffusers/models/modeling_utils.py", line 1164, in from_pretrained config, unused_kwargs, commit_hash = cls.load_config( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/diffusers/configuration_utils.py", line 429, in load_config raise EnvironmentError( OSError: black-forest-labs/FLUX.2-dev is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo with `token` or log in with `hf auth login`.
Container logs:
Fetching error logs...