runtime error
Exit code: 1. Reason: in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/spaces/black-forest-labs/FLUX.1-schnell The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 7, in <module> image_generation_tool = Tool.from_space( File "/usr/local/lib/python3.10/site-packages/smolagents/tools.py", line 573, in from_space return SpaceToolWrapper( File "/usr/local/lib/python3.10/site-packages/smolagents/tools.py", line 59, in new_init original_init(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/smolagents/tools.py", line 505, in __init__ self.client = Client(space_id, hf_token=token) File "/usr/local/lib/python3.10/site-packages/gradio_client/client.py", line 127, in __init__ _src = self._space_name_to_src(src) File "/usr/local/lib/python3.10/site-packages/gradio_client/client.py", line 861, in _space_name_to_src return huggingface_hub.space_info(space, token=self.hf_token).host # type: ignore 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 2635, in space_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-67d0a5b6-56e8d46c71110cd30c6c0ebd;69acdce9-fbec-44d8-bbb6-f24ef1775bc5) Repository Not Found for url: https://huggingface.co/api/spaces/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
Container logs:
Fetching error logs...