runtime error
Exit code: 1. Reason: tors.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1622, in get_hf_file_metadata response = _httpx_follow_relative_redirects( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 309, in _httpx_follow_relative_redirects hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 677, in hf_raise_for_status raise _format(GatedRepoError, message, response) from e huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6994e9d8-2888db162025918c2b472935;5e1fa451-d4ec-48f4-ae17-b9e52bd548ea) Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.2-dev/resolve/main/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 "/home/user/app/app.py", line 72, in <module> dit = Flux2Transformer2DModel.from_pretrained( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 1078, in from_pretrained config, unused_kwargs, commit_hash = cls.load_config( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 407, 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...