runtime error
Exit code: 1. Reason: File "/app/app.py", line 29, in <module> pipe = Flux2KleinPipeline.from_pretrained(MODEL_ID, torch_dtype=dtype).to("cuda") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/diffusers/pipelines/pipeline_utils.py", line 880, in from_pretrained cached_folder = cls.download( ^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/diffusers/pipelines/pipeline_utils.py", line 1656, in download config_file = hf_hub_download( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/huggingface_hub/file_download.py", line 1019, in hf_hub_download return _hf_hub_download_to_cache_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/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.12/site-packages/huggingface_hub/file_download.py", line 1904, in _raise_on_head_call_error raise head_call_error huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-6a817c39-1c46692e6e2b3f7d0723adb5;14a6b835-1ab9-417a-afcf-40d66af61c3a) Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.2-klein-9B/resolve/main/model_index.json. Access to model black-forest-labs/FLUX.2-klein-9B is restricted. You must have access to it and be authenticated to access it. Please log in.
Container logs:
Fetching error logs...