runtime error

Exit code: 1. Reason: ackages/huggingface_hub/utils/_http.py", line 692, in _httpx_follow_relative_redirects_with_backoff hf_raise_for_status(response) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 796, in hf_raise_for_status raise gated_err from e huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-69b713d3-3a2a37f127f84c6567c1a3c3;4d1c01c2-9908-4949-b123-028544ebc2dc) Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/model_index.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 "/app/app.py", line 5, in <module> pipe = AutoPipelineForImage2Image.from_pretrained( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "black-forest-labs/FLUX.1-dev", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ torch_dtype=torch.float16 ^^^^^^^^^^^^^^^^^^^^^^^^^ ).to("cuda") ^ File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.13/site-packages/diffusers/pipelines/auto_pipeline.py", line 781, in from_pretrained config = cls.load_config(pretrained_model_or_path, **load_config_kwargs) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 89, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.13/site-packages/diffusers/configuration_utils.py", line 439, in load_config raise EnvironmentError( ...<3 lines>... ) 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 `hf auth login`.

Container logs:

Fetching error logs...