runtime error
Exit code: 1. Reason: , in download info = model_info(pretrained_model_name, token=token, revision=revision) 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/hf_api.py", line 2533, in model_info hf_raise_for_status(r) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 454, in hf_raise_for_status raise _format(RepositoryNotFoundError, message, response) from e huggingface_hub.errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-67a71dea-71c6a9816e86b0f3083d8235;9cda77b7-0836-449c-b9e6-4565677428c8) Repository Not Found for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-schnell. Please make sure you specified the correct `repo_id` and `repo_type`. If you are trying to access a private or gated repo, make sure you are authenticated. Invalid credentials in Authorization header The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 45, in <module> pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16) 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/pipelines/pipeline_utils.py", line 699, in from_pretrained cached_folder = cls.download( 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/pipelines/pipeline_utils.py", line 1536, in download raise EnvironmentError( OSError: Cannot load model black-forest-labs/FLUX.1-schnell: model is not cached locally and an error occurred while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above.
Container logs:
Fetching error logs...