runtime error
Exit code: 1. Reason: amespace/repo_name': '/root/.cache/huggingface/hub/models--black-forest-labs--FLUX.2-dev/snapshots/26afe3a78bb242c0a8bb181dcc8937bb16e5c66c/model_index.json'. Use `repo_type` argument if needed. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/app.py", line 81, in <module> pipe = Flux2Pipeline.from_pretrained( repo_id, ...<4 lines>... token=hf_token ) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 853, in from_pretrained cached_folder = cls.download( pretrained_model_name_or_path, ...<14 lines>... **kwargs, ) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.13/site-packages/diffusers/pipelines/pipeline_utils.py", line 1790, in download cls_name = cls.load_config(os.path.join(cached_folder, "model_index.json")).get("_class_name", None) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 88, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.13/site-packages/diffusers/configuration_utils.py", line 460, in load_config raise EnvironmentError( ...<5 lines>... ) OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like /root/.cache/huggingface/hub/models--black-forest-labs--FLUX.2-dev/snapshots/26afe3a78bb242c0a8bb181dcc8937bb16e5c66c/model_index.json is not the path to a directory containing a model_index.json file. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.
Container logs:
Fetching error logs...