runtime error
Exit code: 1. Reason: Loaded as API: https://black-forest-labs-flux-1-schnell.hf.space ✔ Traceback (most recent call last): File "/app/app.py", line 15, in <module> image_generation_tool = Tool.from_space( "black-forest-labs/FLUX.1-schnell", name="image_generator", description="Generate an image from a prompt" ) File "/usr/local/lib/python3.13/site-packages/smolagents/tools.py", line 733, in from_space return SpaceToolWrapper( space_id=space_id, ...<3 lines>... token=token, ) File "/usr/local/lib/python3.13/site-packages/smolagents/tools.py", line 75, in new_init original_init(self, *args, **kwargs) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/smolagents/tools.py", line 658, in __init__ self.client = Client(space_id, hf_token=token) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/gradio_client/client.py", line 159, in __init__ self.config = self._get_config() ~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/gradio_client/client.py", line 944, in _get_config raise utils.TooManyRequestsError( "Too many requests to the API, please try again later." ) from None gradio_client.utils.TooManyRequestsError: Too many requests to the API, please try again later.
Container logs:
Fetching error logs...