Spaces:
Runtime error
Runtime error
Update tool_config.json
Browse files- tool_config.json +2 -0
tool_config.json
CHANGED
@@ -2,4 +2,6 @@
|
|
2 |
"description": "This is a tool that creates an image according to a prompt, which is a text description. It takes an input named `prompt` which contains the image description and outputs an image.",
|
3 |
"name": "image_generator",
|
4 |
"tool_class": "text_to_image.TextToImageTool"
|
|
|
|
|
5 |
}
|
|
|
2 |
"description": "This is a tool that creates an image according to a prompt, which is a text description. It takes an input named `prompt` which contains the image description and outputs an image.",
|
3 |
"name": "image_generator",
|
4 |
"tool_class": "text_to_image.TextToImageTool"
|
5 |
+
"inputs": {"prompt": "str"},
|
6 |
+
"output_type": "image"
|
7 |
}
|