Update tool_config.json
Browse files- tool_config.json +3 -1
tool_config.json
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
{
|
2 |
"description": "This is a tool that transforms an image according to a prompt. It takes two inputs: `image`, which should be the image to transform, and `prompt`, which should be the prompt to use to change it. The prompt should only contain descriptive adjectives, as if completing the prompt of the original image. It returns the modified image.",
|
3 |
"name": "image_transformer",
|
4 |
-
"tool_class": "image_transformation.ImageTransformationTool"
|
|
|
|
|
5 |
}
|
|
|
1 |
{
|
2 |
"description": "This is a tool that transforms an image according to a prompt. It takes two inputs: `image`, which should be the image to transform, and `prompt`, which should be the prompt to use to change it. The prompt should only contain descriptive adjectives, as if completing the prompt of the original image. It returns the modified image.",
|
3 |
"name": "image_transformer",
|
4 |
+
"tool_class": "image_transformation.ImageTransformationTool",
|
5 |
+
"inputs": {"image": "image", "prompt": "str"},
|
6 |
+
"output_type": "image"
|
7 |
}
|