runtime error

Exit code: 1. Reason: hon3.10/site-packages/huggingface_hub/file_download.py", line 1376, in _get_metadata_or_catch_error metadata = get_hf_file_metadata( 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/huggingface_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 280, in _request_wrapper response = _request_wrapper( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 304, in _request_wrapper hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 426, in hf_raise_for_status raise _format(GatedRepoError, message, response) from e huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-67ea9010-27da9f930cf63fac78bac0b1;82252f68-c9d3-45df-81dd-397c687fbc40) 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 "/home/user/app/app.py", line 76, in <module> pipeline = load_model_with_retry() File "/home/user/app/app.py", line 73, in load_model_with_retry raise Exception(f"Failed to load model after {max_retries} attempts: {e}") Exception: Failed to load model after 5 attempts: 401 Client Error. (Request ID: Root=1-67ea9010-27da9f930cf63fac78bac0b1;82252f68-c9d3-45df-81dd-397c687fbc40) 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.

Container logs:

Fetching error logs...