runtime error
Exit code: 1. Reason: ib/python3.10/site-packages/huggingface_hub/file_download.py", line 310, 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-68c969e0-31c08e5d1f2f22790631abe4;02205fd2-6de7-4f0f-9406-37931ea6854d) Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/resolve/main/scheduler/scheduler_config.json. Access to model black-forest-labs/FLUX.1-Kontext-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/src/app.py", line 20, in <module> model = Model.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", device=DEVICE_CPU, dtype=DTYPE) File "/usr/local/lib/python3.10/site-packages/finegrain_toolbox/flux/model.py", line 83, in from_pretrained scheduler = FlowMatchEulerDiscreteScheduler.from_pretrained( 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/schedulers/scheduling_utils.py", line 151, in from_pretrained config, kwargs, commit_hash = cls.load_config( 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/configuration_utils.py", line 407, in load_config raise EnvironmentError( OSError: black-forest-labs/FLUX.1-Kontext-dev is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo with `token` or log in with `hf auth login`.
Container logs:
Fetching error logs...