Upload config.json with huggingface_hub
Browse files- config.json +19 -3
config.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"model_type": "diffsketchedit",
|
| 3 |
-
"task": "
|
|
|
|
| 4 |
"framework": "pytorch",
|
| 5 |
-
"output_format": "svg",
|
| 6 |
"input_format": "text",
|
|
|
|
|
|
|
| 7 |
"max_paths": 32,
|
| 8 |
"default_size": [
|
| 9 |
512,
|
|
@@ -13,5 +15,19 @@
|
|
| 13 |
"colorize",
|
| 14 |
"stylize",
|
| 15 |
"modify"
|
| 16 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"model_type": "diffsketchedit",
|
| 3 |
+
"task": "image-to-image",
|
| 4 |
+
"pipeline_tag": "image-to-image",
|
| 5 |
"framework": "pytorch",
|
|
|
|
| 6 |
"input_format": "text",
|
| 7 |
+
"output_format": "svg",
|
| 8 |
+
"description": "Edits and enhances vector graphics based on text instructions",
|
| 9 |
"max_paths": 32,
|
| 10 |
"default_size": [
|
| 11 |
512,
|
|
|
|
| 15 |
"colorize",
|
| 16 |
"stylize",
|
| 17 |
"modify"
|
| 18 |
+
],
|
| 19 |
+
"input_types": [
|
| 20 |
+
"prompt",
|
| 21 |
+
"edit_type",
|
| 22 |
+
"strength"
|
| 23 |
+
],
|
| 24 |
+
"output_types": [
|
| 25 |
+
"svg_content",
|
| 26 |
+
"svg_base64"
|
| 27 |
+
],
|
| 28 |
+
"edit_options": {
|
| 29 |
+
"colorize": "Add vibrant colors to designs",
|
| 30 |
+
"stylize": "Apply artistic styles and effects",
|
| 31 |
+
"modify": "Transform and enhance existing graphics"
|
| 32 |
+
}
|
| 33 |
}
|