runtime error
Exit code: 1. Reason: uggingface_hub/file_download.py", line 1019, in hf_hub_download return _hf_hub_download_to_cache_dir( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1166, in _hf_hub_download_to_cache_dir _raise_on_head_call_error(head_call_error, force_download, local_files_only) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1904, in _raise_on_head_call_error raise head_call_error huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-6a80bbab-028c835416a93fea099530f9;87718fab-2849-4166-a8e0-046c44378c3f) Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/vae/config.json. Access to model black-forest-labs/FLUX.1-dev is restricted and you are not in the authorized list. Visit https://huggingface.co/black-forest-labs/FLUX.1-dev to ask for access. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> good_vae = AutoencoderKL.from_pretrained("black-forest-labs/FLUX.1-dev", subfolder="vae", torch_dtype=dtype).to(device) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 1129, 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 88, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 438, 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 `hf auth login`.
Container logs:
Fetching error logs...