runtime error
Exit code: 1. Reason: /usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py:131: FutureWarning: '__init_subclass__' (from 'transformers.agents.tools') is deprecated and will be removed from version '4.51.0'. Switch to smolagents instead, with the same functionalities and similar API (https://huggingface.co/docs/smolagents/index) warnings.warn(warning_message, FutureWarning) /usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py:131: FutureWarning: '__init_subclass__' (from 'transformers.agents.tools') is deprecated and will be removed from version '4.51.0'. Switch to smolagents instead, with the same functionalities and similar API (https://huggingface.co/docs/smolagents/index) warnings.warn(warning_message, FutureWarning) /usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_deprecation.py:131: FutureWarning: 'Tool' (from 'transformers.agents.tools') is deprecated and will be removed from version '4.51.0'. Switch to smolagents instead, with the same functionalities and similar API (https://huggingface.co/docs/smolagents/index) warnings.warn(warning_message, FutureWarning) Traceback (most recent call last): File "/home/user/app/app.py", line 4, in <module> launch_gradio_demo(TextToImageTool) File "/usr/local/lib/python3.10/site-packages/transformers/agents/tools.py", line 792, in launch_gradio_demo tool = tool_class() File "/usr/local/lib/python3.10/site-packages/transformers/agents/tools.py", line 100, in new_init self.validate_arguments(do_validate_forward=do_validate_forward) File "/usr/local/lib/python3.10/site-packages/transformers/agents/tools.py", line 174, in validate_arguments raise Exception( Exception: Input 'prompt': type 'text' is not an authorized value, should be one of ['string', 'integer', 'number', 'image', 'audio', 'any', 'boolean'].
Container logs:
Fetching error logs...