Spaces:
Build error
Build error
Name
Browse files- tool_config.json +4 -5
tool_config.json
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
|
5 |
-
|
6 |
-
}
|
7 |
}
|
8 |
}
|
|
|
1 |
{
|
2 |
+
"image-transformation": {
|
3 |
+
"tool_class": "image_transformation.ImageTransformationTool",
|
4 |
+
"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.",
|
5 |
+
"name": "image_transformer"
|
|
|
6 |
}
|
7 |
}
|