m-ric HF staff commited on
Commit
29d7a26
1 Parent(s): e68ce70

Update tool_config.json

Browse files
Files changed (1) hide show
  1. 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
  }