runtime error
Exit code: 1. Reason: ^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_http.py", line 726, in _httpx_follow_relative_redirects_with_backoff hf_raise_for_status(response) File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_http.py", line 821, in hf_raise_for_status raise _format(GatedRepoError, message, response, repo_type=repo_type, repo_id=repo_id) from e huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6a6c2eed-636aa07b121712a704bc3218;07059758-2dfe-4125-a857-4d96db804802) 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 43, in <module> transformer = Flux2Transformer2DModel.from_single_file( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/diffusers/loaders/single_file_model.py", line 450, in from_single_file diffusers_model_config = cls.load_config( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/diffusers/configuration_utils.py", line 438, 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...