runtime error

Exit code: 1. Reason: 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 652, in launch_gradio_demo tool = tool_class() File "/home/user/app/text_to_image.py", line 25, in __init__ super().__init__() File "/usr/local/lib/python3.10/site-packages/transformers/agents/tools.py", line 97, in new_init self.validate_arguments() File "/usr/local/lib/python3.10/site-packages/transformers/agents/tools.py", line 160, in validate_arguments raise Exception( Exception: Tool's 'forward' method should take 'self' as its first argument, then its next arguments should match the keys of tool attribute 'inputs'.

Container logs:

Fetching error logs...