runtime error

Exit code: 1. Reason: es/huggingface_hub/file_download.py", line 283, in _request_wrapper response = _request_wrapper( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 307, in _request_wrapper hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 419, in hf_raise_for_status raise _format(GatedRepoError, message, response) from e huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6939c3ae-5f2713d51d89f3fe51b07b47;05b7fcc3-dd11-4726-8952-af967cd5c7aa) Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-Fill-dev/resolve/main/transformer/config.json. Access to model black-forest-labs/FLUX.1-Fill-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 28, in <module> transformer = FluxTransformer2DModel.from_pretrained('black-forest-labs/FLUX.1-Fill-dev', subfolder='transformer').requires_grad_(False).to(device, dtype=weight_dtype) 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 984, 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 405, in load_config raise EnvironmentError( OSError: black-forest-labs/FLUX.1-Fill-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...