Spaces:
Paused
Paused
Create tool_config.json
Browse files- tool_config.json +6 -0
tool_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"description": "This is a tool that creates an image according to a prompt, which is a text description.",
|
3 |
+
"inputs": "{'prompt': {'type': 'string', 'description': \"The image generator prompt. Don't hesitate to add details in the prompt to make the image look better, like 'high-res, photorealistic', etc.\"}}",
|
4 |
+
"name": "image_generator",
|
5 |
+
"output_type": "image",
|
6 |
+
"tool_class": "tool.TextToImageTool"
|