runtime error

Exit code: 1. Reason: e enable access to public gated repositories in your fine-grained token settings to view this repository.. Cannot access content at: https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/main/flux1-dev.safetensors. Make sure your token has the correct permissions. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 39, in <module> flux_generator = FluxGenerator() File "/home/user/app/app.py", line 30, in __init__ self.model, self.ae, self.t5, self.clip = get_models( File "/home/user/app/app.py", line 19, in get_models model = load_flow_model(name, device="cpu" if offload else device) File "/home/user/app/flux/util.py", line 114, in load_flow_model ckpt_path = hf_hub_download(configs[name].repo_id, configs[name].repo_flow, local_dir='models') File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py", line 101, in inner_f return f(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1212, in hf_hub_download return _hf_hub_download_to_local_dir( File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1461, in _hf_hub_download_to_local_dir _raise_on_head_call_error(head_call_error, force_download, local_files_only) File "/home/user/.pyenv/versions/3.10.15/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1857, in _raise_on_head_call_error raise LocalEntryNotFoundError( huggingface_hub.errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

Container logs:

Fetching error logs...