Upload config.json with huggingface_hub
Browse files- config.json +30 -13
config.json
CHANGED
|
@@ -1,17 +1,34 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
"
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
"
|
| 13 |
-
"
|
| 14 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
}
|
| 16 |
}
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "vector_graphics",
|
| 3 |
+
"name": "DiffSketcher",
|
| 4 |
+
"task": "text-to-image",
|
| 5 |
+
"parameters": {
|
| 6 |
+
"prompt": {
|
| 7 |
+
"type": "string",
|
| 8 |
+
"description": "Text description of the desired output",
|
| 9 |
+
"required": true
|
| 10 |
+
},
|
| 11 |
+
"negative_prompt": {
|
| 12 |
+
"type": "string",
|
| 13 |
+
"description": "Text to avoid in the generation",
|
| 14 |
+
"required": false
|
| 15 |
+
},
|
| 16 |
+
"num_paths": {
|
| 17 |
+
"type": "integer",
|
| 18 |
+
"description": "Number of paths in the SVG",
|
| 19 |
+
"required": false,
|
| 20 |
+
"default": 100
|
| 21 |
+
},
|
| 22 |
+
"guidance_scale": {
|
| 23 |
+
"type": "number",
|
| 24 |
+
"description": "Guidance scale for the diffusion model",
|
| 25 |
+
"required": false,
|
| 26 |
+
"default": 7.5
|
| 27 |
+
},
|
| 28 |
+
"seed": {
|
| 29 |
+
"type": "integer",
|
| 30 |
+
"description": "Random seed for reproducibility",
|
| 31 |
+
"required": false
|
| 32 |
}
|
| 33 |
}
|
| 34 |
}
|