m-ric HF staff commited on
Commit
f09efa8
1 Parent(s): 33debb6

Update tool_config.json

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