Spaces:
Runtime error
Runtime error
Upload tool_config.json with huggingface_hub
Browse files- tool_config.json +3 -5
tool_config.json
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
"name": "image_generator"
|
6 |
-
}
|
7 |
}
|
|
|
1 |
{
|
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 |
}
|