runtime error
Exit code: 1. Reason: hub/file_download.py", line 1296, in get_hf_file_metadata r = _request_wrapper( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 277, in _request_wrapper response = _request_wrapper( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 301, in _request_wrapper hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 423, in hf_raise_for_status raise _format(GatedRepoError, message, response) from e huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6739c06a-6cf2ca403433cd0f43eefeca;1a2d00b7-4644-46dc-944f-67ecd245805e) Cannot access gated repo for url https://huggingface.co./black-forest-labs/FLUX.1-dev/resolve/main/transformer/config.json. Access to model black-forest-labs/FLUX.1-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 17, in <module> transformer = FluxTransformer2DModel.from_pretrained( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 640, 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 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 394, in load_config raise EnvironmentError( OSError: black-forest-labs/FLUX.1-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 `huggingface-cli login`.
Container logs:
Fetching error logs...