runtime error
Exit code: 1. Reason: ause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1401, 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 2519, in model_info hf_raise_for_status(r) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 481, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/black-forest-labs/FLUX.1-Fill-dev (Request ID: Root=1-67cb0bf2-2dab5fd91eb22f5e6b037de1;14fc430f-c8c3-4ed3-87db-08069ebbeda4) 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 16, in <module> pipe = FluxFillPipeline.from_pretrained("black-forest-labs/FLUX.1-Fill-dev", torch_dtype=torch.bfloat16).to("cuda") 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 769, 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 1598, in download raise EnvironmentError( OSError: Cannot load model black-forest-labs/FLUX.1-Fill-dev: 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...