Spaces:
Runtime error
Runtime error
Description
Browse files- tool_config.json +5 -3
tool_config.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
{
|
| 2 |
-
"custom_tools": {
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
| 5 |
}
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"custom_tools": {
|
| 3 |
+
"text-to-image": {
|
| 4 |
+
"tool_class": "text_to_image.TextToImage",
|
| 5 |
+
"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."
|
| 6 |
+
}
|
| 7 |
}
|
| 8 |
}
|