Upload widget-config.json with huggingface_hub
Browse files- widget-config.json +38 -0
widget-config.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"text-to-image": {
|
| 3 |
+
"default": {
|
| 4 |
+
"inputs": [
|
| 5 |
+
{
|
| 6 |
+
"label": "Prompt",
|
| 7 |
+
"name": "prompt",
|
| 8 |
+
"type": "text",
|
| 9 |
+
"default": "a cat sitting on a windowsill"
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"label": "Negative Prompt",
|
| 13 |
+
"name": "negative_prompt",
|
| 14 |
+
"type": "text",
|
| 15 |
+
"default": ""
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"label": "Number of Paths",
|
| 19 |
+
"name": "num_paths",
|
| 20 |
+
"type": "number",
|
| 21 |
+
"default": 96
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"label": "Guidance Scale",
|
| 25 |
+
"name": "guidance_scale",
|
| 26 |
+
"type": "number",
|
| 27 |
+
"default": 7.5
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"label": "Seed",
|
| 31 |
+
"name": "seed",
|
| 32 |
+
"type": "number",
|
| 33 |
+
"default": 42
|
| 34 |
+
}
|
| 35 |
+
]
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
}
|