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
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
:root {
|
| 2 |
+
--cn-gradient-bg2: linear-gradient(to right,
|
| 3 |
+
rgb(255, 0, 0),
|
| 4 |
+
rgb(255, 0, 25),
|
| 5 |
+
rgb(255, 0, 50),
|
| 6 |
+
rgb(255, 0, 75),
|
| 7 |
+
rgb(255, 0, 100),
|
| 8 |
+
rgb(255, 0, 125),
|
| 9 |
+
rgb(255, 0, 150),
|
| 10 |
+
rgb(255, 0, 175),
|
| 11 |
+
rgb(255, 0, 200),
|
| 12 |
+
rgb(255, 0, 225),
|
| 13 |
+
rgb(255, 0, 255),
|
| 14 |
+
rgb(225, 0, 255),
|
| 15 |
+
rgb(200, 0, 255),
|
| 16 |
+
rgb(175, 0, 255),
|
| 17 |
+
rgb(150, 0, 255),
|
| 18 |
+
rgb(125, 0, 255),
|
| 19 |
+
rgb(100, 0, 255),
|
| 20 |
+
rgb(75, 0, 255),
|
| 21 |
+
rgb(50, 0, 255),
|
| 22 |
+
rgb(25, 0, 255),
|
| 23 |
+
rgb(0, 0, 255),
|
| 24 |
+
rgb(0, 25, 255),
|
| 25 |
+
rgb(0, 50, 255),
|
| 26 |
+
rgb(0, 75, 255),
|
| 27 |
+
rgb(0, 100, 255),
|
| 28 |
+
rgb(0, 125, 255),
|
| 29 |
+
rgb(0, 150, 255),
|
| 30 |
+
rgb(0, 175, 255),
|
| 31 |
+
rgb(0, 200, 255),
|
| 32 |
+
rgb(0, 225, 255),
|
| 33 |
+
rgb(0, 255, 255),
|
| 34 |
+
rgb(0, 255, 225),
|
| 35 |
+
rgb(0, 255, 200),
|
| 36 |
+
rgb(0, 255, 175),
|
| 37 |
+
rgb(0, 255, 150),
|
| 38 |
+
rgb(0, 255, 125),
|
| 39 |
+
rgb(0, 255, 100),
|
| 40 |
+
rgb(0, 255, 75),
|
| 41 |
+
rgb(0, 255, 50),
|
| 42 |
+
rgb(0, 255, 25),
|
| 43 |
+
rgb(0, 255, 0),
|
| 44 |
+
rgb(25, 255, 0),
|
| 45 |
+
rgb(50, 255, 0),
|
| 46 |
+
rgb(75, 255, 0),
|
| 47 |
+
rgb(100, 255, 0),
|
| 48 |
+
rgb(125, 255, 0),
|
| 49 |
+
rgb(150, 255, 0),
|
| 50 |
+
rgb(175, 255, 0),
|
| 51 |
+
rgb(200, 255, 0),
|
| 52 |
+
rgb(225, 255, 0),
|
| 53 |
+
rgb(255, 255, 0),
|
| 54 |
+
rgb(255, 225, 0),
|
| 55 |
+
rgb(255, 200, 0),
|
| 56 |
+
rgb(255, 175, 0),
|
| 57 |
+
rgb(255, 150, 0),
|
| 58 |
+
rgb(255, 125, 0),
|
| 59 |
+
rgb(255, 100, 0),
|
| 60 |
+
rgb(255, 75, 0),
|
| 61 |
+
rgb(255, 50, 0),
|
| 62 |
+
rgb(255, 25, 0),
|
| 63 |
+
rgb(255, 0, 0));}
|
| 64 |
+
|
| 65 |
+
.boks2 {
|
| 66 |
+
border: 3px solid transparent;
|
| 67 |
+
border-radius: 15px;
|
| 68 |
+
padding: 5px;
|
| 69 |
+
margin: 0;
|
| 70 |
+
background: url('https://wallpapercave.com/dwp1x/wp5126154.jpg');
|
| 71 |
+
background-size: 110% 110%;
|
| 72 |
+
background-position: 50% 80%;
|
| 73 |
+
overflow: visible;
|
| 74 |
+
animation: slide-blur-above 1s, BorderPulse 15s infinite;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
.widget-container {
|
| 78 |
+
position: relative;
|
| 79 |
+
width: 630px;
|
| 80 |
+
height: 0px;
|
| 81 |
+
margin-top: 0px;
|
| 82 |
+
margin-right: 0px;
|
| 83 |
+
margin-bottom: 0px;
|
| 84 |
+
margin-left: 0px;
|
| 85 |
+
overflow: visible;
|
| 86 |
+
}
|
| 87 |
+
.download-button, .select-all-button, .unselect-all-button {
|
| 88 |
+
font-family: 'Times New Roman', serif;
|
| 89 |
+
text-align: center;
|
| 90 |
+
height: 40px;
|
| 91 |
+
color: #ab22fe;
|
| 92 |
+
border: 3px solid #2197f2;
|
| 93 |
+
background-color: transparent;
|
| 94 |
+
border-radius: 4px;
|
| 95 |
+
background-position: left bottom;
|
| 96 |
+
transition: all 0.5s ease-out;
|
| 97 |
+
transform: scale(0.8);
|
| 98 |
+
vertical-align: middle;
|
| 99 |
+
z-index: 1;
|
| 100 |
+
}
|
| 101 |
+
.download-button {
|
| 102 |
+
margin-top: 380px;
|
| 103 |
+
margin-right: 30px;
|
| 104 |
+
margin-bottom: 0px;
|
| 105 |
+
margin-left: 100px;
|
| 106 |
+
font-size: 22px;
|
| 107 |
+
width: 500px;
|
| 108 |
+
font-weight: bold;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
.select-all-button {
|
| 112 |
+
margin-top: 380px;
|
| 113 |
+
margin-right: -30px;
|
| 114 |
+
margin-bottom: 0px;
|
| 115 |
+
margin-left: 30px;
|
| 116 |
+
font-size: 21px;
|
| 117 |
+
width: 300px;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
.unselect-all-button {
|
| 121 |
+
margin-top: 380px;
|
| 122 |
+
margin-right: -30px;
|
| 123 |
+
margin-bottom: 0px;
|
| 124 |
+
margin-left: 20px;
|
| 125 |
+
font-size: 21px;
|
| 126 |
+
width: 300px;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.download-button:hover, .select-all-button:hover, .unselect-all-button:hover {
|
| 130 |
+
font-weight: bold;
|
| 131 |
+
color: #212121;
|
| 132 |
+
border-radius: 4px;
|
| 133 |
+
border: 3px solid transparent;
|
| 134 |
+
background-image: var(--cn-gradient-bg2);
|
| 135 |
+
background-size: 800% 500%;
|
| 136 |
+
background-position: left bottom;
|
| 137 |
+
transition: border 0s;
|
| 138 |
+
cursor: pointer;
|
| 139 |
+
transition: none;
|
| 140 |
+
vertical-align: middle;
|
| 141 |
+
transform: scale(0.9);
|
| 142 |
+
animation: slideBackground 10s linear infinite, BorderPulse 7s infinite;
|
| 143 |
+
transition: all 0.3s ease-out;
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
.border-style {
|
| 147 |
+
position: absolute;
|
| 148 |
+
display: block;
|
| 149 |
+
bottom: -430px;
|
| 150 |
+
left: 49%;
|
| 151 |
+
transform: translateX(-50%);
|
| 152 |
+
width: 600px;
|
| 153 |
+
height: 55px;
|
| 154 |
+
border: 3px solid #ab22fe;
|
| 155 |
+
border-radius: 50px;
|
| 156 |
+
background-color: #212121;
|
| 157 |
+
padding: 0px;
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.checkbox-group1 input[type="checkbox"],
|
| 161 |
+
.checkbox-group2 input[type="checkbox"] {
|
| 162 |
+
margin-top: -3px;
|
| 163 |
+
margin-right: 10px;
|
| 164 |
+
margin-bottom: 0px;
|
| 165 |
+
margin-left: 0px;
|
| 166 |
+
vertical-align: middle;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
.checkbox-group1 label {
|
| 170 |
+
font-size: 12px;
|
| 171 |
+
color: white;
|
| 172 |
+
margin-top: 2px;
|
| 173 |
+
margin-right: -50px;
|
| 174 |
+
margin-left: 50px;
|
| 175 |
+
margin-bottom: -5px;
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
.checkbox-group2 label {
|
| 179 |
+
font-size: 12px;
|
| 180 |
+
color: white;
|
| 181 |
+
margin-top: 2px;
|
| 182 |
+
margin-right: -50px;
|
| 183 |
+
margin-left: 0px;
|
| 184 |
+
margin-bottom: -5px;
|
| 185 |
+
vertical-align: middle;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
.checkbox-group1 label:hover {
|
| 189 |
+
margin-top: -10px;
|
| 190 |
+
margin-right: -50px;
|
| 191 |
+
margin-bottom: -50px;
|
| 192 |
+
margin-left: 40px;
|
| 193 |
+
transform: translateY(0px) translateX(-3px);
|
| 194 |
+
border-radius: 10px;
|
| 195 |
+
padding-left: 10px;
|
| 196 |
+
padding-right: 10px;
|
| 197 |
+
padding-bottom: 0px;
|
| 198 |
+
color: #ab22fe;
|
| 199 |
+
background-color: #212121;
|
| 200 |
+
border: 3px solid #2197f2;
|
| 201 |
+
transition: border 0s;
|
| 202 |
+
cursor: pointer;
|
| 203 |
+
transition: none;
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
.checkbox-group2 label:hover {
|
| 207 |
+
margin-top: -10px;
|
| 208 |
+
margin-right: -50px;
|
| 209 |
+
margin-bottom: -50px;
|
| 210 |
+
margin-left: 0px;
|
| 211 |
+
transform: translateY(0px) translateX(-13px);
|
| 212 |
+
border-radius: 10px;
|
| 213 |
+
padding-left: 10px;
|
| 214 |
+
padding-right: 10px;
|
| 215 |
+
padding-bottom: 0px;
|
| 216 |
+
color: #ab22fe;
|
| 217 |
+
background-color: #212121;
|
| 218 |
+
border: 3px solid #2197f2;
|
| 219 |
+
transition: border 0s;
|
| 220 |
+
cursor: pointer;
|
| 221 |
+
transition: none;
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
.checkbox-group1 label:active, .checkbox-group2 label:active {
|
| 225 |
+
background-image: var(--cn-gradient-bg2);
|
| 226 |
+
background-size: 800% 500%;
|
| 227 |
+
animation: slideBackground 10s linear infinite, BorderPulse 7s infinite;
|
| 228 |
+
font-weight: bold;
|
| 229 |
+
color: #212121;}
|
| 230 |
+
|
| 231 |
+
@keyframes slideBackground {
|
| 232 |
+
0% { background-position: 0% 50%; }
|
| 233 |
+
100% { background-position: -800% 50%; }}
|
| 234 |
+
|
| 235 |
+
@keyframes BorderPulse {
|
| 236 |
+
0% {border-color: rgba(255, 0, 0, 1);}
|
| 237 |
+
1.67% {border-color: rgba(255, 0, 25, 0.75);}
|
| 238 |
+
3.33% {border-color: rgba(255, 0, 50, 0.5);}
|
| 239 |
+
5.00% {border-color: rgba(255, 0, 75, 0.75);}
|
| 240 |
+
6.67% {border-color: rgba(255, 0, 100, 1);}
|
| 241 |
+
8.33% {border-color: rgba(255, 0, 125, 0.75);}
|
| 242 |
+
10.00% {border-color: rgba(255, 0, 150, 0.5);}
|
| 243 |
+
11.67% {border-color: rgba(255, 0, 175, 0.75);}
|
| 244 |
+
13.33% {border-color: rgba(255, 0, 200, 1);}
|
| 245 |
+
15.00% {border-color: rgba(255, 0, 225, 0.75);}
|
| 246 |
+
16.67% {border-color: rgba(255, 0, 255, 0.5);}
|
| 247 |
+
18.33% {border-color: rgba(225, 0, 255, 0.75);}
|
| 248 |
+
20.00% {border-color: rgba(200, 0, 255, 1);}
|
| 249 |
+
21.67% {border-color: rgba(175, 0, 255, 0.75);}
|
| 250 |
+
23.33% {border-color: rgba(150, 0, 255, 0.5);}
|
| 251 |
+
25.00% {border-color: rgba(125, 0, 255, 0.75);}
|
| 252 |
+
26.67% {border-color: rgba(100, 0, 255, 1);}
|
| 253 |
+
28.33% {border-color: rgba(75, 0, 255, 0.75);}
|
| 254 |
+
30.00% {border-color: rgba(50, 0, 255, 0.5);}
|
| 255 |
+
31.67% {border-color: rgba(25, 0, 255, 0.75);}
|
| 256 |
+
33.33% {border-color: rgba(0, 0, 255, 1);}
|
| 257 |
+
35.00% {border-color: rgba(0, 25, 255, 0.75);}
|
| 258 |
+
36.67% {border-color: rgba(0, 50, 255, 0.5);}
|
| 259 |
+
38.33% {border-color: rgba(0, 75, 255, 0.75);}
|
| 260 |
+
40.00% {border-color: rgba(0, 100, 255, 1);}
|
| 261 |
+
41.67% {border-color: rgba(0, 125, 255, 0.75);}
|
| 262 |
+
43.33% {border-color: rgba(0, 150, 255, 0.5);}
|
| 263 |
+
45.00% {border-color: rgba(0, 175, 255, 0.75);}
|
| 264 |
+
46.67% {border-color: rgba(0, 200, 255, 1);}
|
| 265 |
+
48.33% {border-color: rgba(0, 225, 255, 0.75);}
|
| 266 |
+
50.00% {border-color: rgba(0, 255, 255, 0.5);}
|
| 267 |
+
51.67% {border-color: rgba(0, 255, 225, 0.75);}
|
| 268 |
+
53.33% {border-color: rgba(0, 255, 200, 1);}
|
| 269 |
+
55.00% {border-color: rgba(0, 255, 175, 0.75);}
|
| 270 |
+
56.67% {border-color: rgba(0, 255, 150, 0.5);}
|
| 271 |
+
58.33% {border-color: rgba(0, 255, 125, 0.75);}
|
| 272 |
+
60.00% {border-color: rgba(0, 255, 100, 1);}
|
| 273 |
+
61.67% {border-color: rgba(0, 255, 75, 0.75);}
|
| 274 |
+
63.33% {border-color: rgba(0, 255, 50, 0.5);}
|
| 275 |
+
65.00% {border-color: rgba(0, 255, 25, 0.75);}
|
| 276 |
+
66.67% {border-color: rgba(0, 255, 0, 1);}
|
| 277 |
+
68.33% {border-color: rgba(25, 255, 0, 0.75);}
|
| 278 |
+
70.00% {border-color: rgba(50, 255, 0, 0.5);}
|
| 279 |
+
71.67% {border-color: rgba(75, 255, 0, 0.75);}
|
| 280 |
+
73.33% {border-color: rgba(100, 255, 0, 1);}
|
| 281 |
+
75.00% {border-color: rgba(125, 255, 0, 0.75);}
|
| 282 |
+
76.67% {border-color: rgba(150, 255, 0, 0.5);}
|
| 283 |
+
78.33% {border-color: rgba(175, 255, 0, 0.75);}
|
| 284 |
+
80.00% {border-color: rgba(200, 255, 0, 1);}
|
| 285 |
+
81.67% {border-color: rgba(225, 255, 0, 0.75);}
|
| 286 |
+
83.33% {border-color: rgba(255, 255, 0, 0.5);}
|
| 287 |
+
85.00% {border-color: rgba(255, 225, 0, 0.75);}
|
| 288 |
+
86.67% {border-color: rgba(255, 200, 0, 1);}
|
| 289 |
+
88.33% {border-color: rgba(255, 175, 0, 0.75);}
|
| 290 |
+
90.00% {border-color: rgba(255, 150, 0, 0.5);}
|
| 291 |
+
91.67% {border-color: rgba(255, 125, 0, 0.75);}
|
| 292 |
+
93.33% {border-color: rgba(255, 100, 0, 1);}
|
| 293 |
+
95.00% {border-color: rgba(255, 75, 0, 0.75);}
|
| 294 |
+
96.67% {border-color: rgba(255, 50, 0, 0.5);}
|
| 295 |
+
98.33% {border-color: rgba(255, 25, 0, 0.75);}
|
| 296 |
+
100% {border-color: rgba(255, 0, 0, 1);}}
|
| 297 |
+
|
| 298 |
+
@keyframes slide-blur-above {
|
| 299 |
+
from {
|
| 300 |
+
height: 0px;
|
| 301 |
+
opacity: 0;
|
| 302 |
+
filter: blur(100px);
|
| 303 |
+
}
|
| 304 |
+
to {
|
| 305 |
+
height: 455px;
|
| 306 |
+
opacity: 1;
|
| 307 |
+
filter: blur(0px);}}
|
| 308 |
+
|
| 309 |
+
.gradient-cn2 {
|
| 310 |
+
width: 750px;
|
| 311 |
+
height: 5px;
|
| 312 |
+
font-size: 0px;
|
| 313 |
+
background-image: var(--cn-gradient-bg2);
|
| 314 |
+
background-size: 800% 500%;
|
| 315 |
+
color: black;
|
| 316 |
+
border-radius: 2px;
|
| 317 |
+
border: 1px solid transparent;
|
| 318 |
+
display: inline-block;
|
| 319 |
+
animation: slideBackground 20s linear infinite, BorderPulse 7s infinite;
|
| 320 |
+
transition: all 0.3s ease-out;}
|
controlnet.py
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from IPython.display import display, HTML, clear_output
|
| 2 |
+
from nenen88 import download, say, tempe
|
| 3 |
+
from ipywidgets import widgets, Layout
|
| 4 |
+
from pathlib import Path
|
| 5 |
+
import os
|
| 6 |
+
|
| 7 |
+
path = Path(__file__).parent.parent
|
| 8 |
+
css = Path(__file__).parent / "cn-1_5.css"
|
| 9 |
+
|
| 10 |
+
with open(css, "r") as oppai:
|
| 11 |
+
susu = oppai.read()
|
| 12 |
+
display(HTML(f"<style>{susu}</style>"))
|
| 13 |
+
|
| 14 |
+
url_list = {
|
| 15 |
+
"Openpose": [
|
| 16 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_openpose_fp16.safetensors openpose.safetensors",
|
| 17 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_openpose_fp16.yaml openpose.yaml"],
|
| 18 |
+
"Canny": [
|
| 19 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_canny_fp16.safetensors canny.safetensors",
|
| 20 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_canny_fp16.yaml canny.yaml"],
|
| 21 |
+
"Depth": [
|
| 22 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors depth.safetensors",
|
| 23 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11f1p_sd15_depth_fp16.yaml depth.yaml"],
|
| 24 |
+
"Lineart": [
|
| 25 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_lineart_fp16.safetensors lineart.safetensors",
|
| 26 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_lineart_fp16.yaml lineart.yaml"],
|
| 27 |
+
"Lineart Anime": [
|
| 28 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors lineart_anime.safetensors",
|
| 29 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15s2_lineart_anime_fp16.yaml lineart_anime.yaml"],
|
| 30 |
+
"ip2p": [
|
| 31 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors ip2p.safetensors",
|
| 32 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11e_sd15_ip2p_fp16.yaml ip2p.yaml"],
|
| 33 |
+
"Shuffle": [
|
| 34 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors shuffle.safetensors",
|
| 35 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11e_sd15_shuffle_fp16.yaml shuffle.yaml"],
|
| 36 |
+
"Inpaint": [
|
| 37 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors inpaint.safetensors",
|
| 38 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_inpaint_fp16.yaml inpaint.yaml"],
|
| 39 |
+
"MLSD": [
|
| 40 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors mlsd.safetensors",
|
| 41 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_mlsd_fp16.yaml mlsd.yaml"],
|
| 42 |
+
"Normalbae": [
|
| 43 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors normalbae.safetensors",
|
| 44 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_normalbae_fp16.yaml normalbae.yaml"],
|
| 45 |
+
"Scribble": [
|
| 46 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_scribble_fp16.safetensors scribble.safetensors",
|
| 47 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_scribble_fp16.yaml scribble.yaml"],
|
| 48 |
+
"Seg": [
|
| 49 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_seg_fp16.safetensors seg.safetensors",
|
| 50 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_seg_fp16.yaml seg.yaml"],
|
| 51 |
+
"Softedge": [
|
| 52 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11p_sd15_softedge_fp16.safetensors softedge.safetensors",
|
| 53 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11p_sd15_softedge_fp16.yaml softedge.yaml"],
|
| 54 |
+
"Tile": [
|
| 55 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors tile.safetensors",
|
| 56 |
+
"https://huggingface.co/ckpt/ControlNet-v1-1/raw/main/control_v11f1e_sd15_tile_fp16.yaml tile.yaml"],
|
| 57 |
+
|
| 58 |
+
"IP Adapter 1.5": [
|
| 59 |
+
"https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15.safetensors ip-adapter_sd15.safetensors"],
|
| 60 |
+
"IP Adapter 1.5 Light": [
|
| 61 |
+
"https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15_light.safetensors ip-adapter_sd15_light.safetensors"],
|
| 62 |
+
"IP Adapter 1.5 VIT-G": [
|
| 63 |
+
"https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15_vit-G.safetensors ip-adapter_sd15_vit-G.safetensors"],
|
| 64 |
+
"IP Adapter Plus 1.5": [
|
| 65 |
+
"https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus_sd15.safetensors ip-adapter-plus_sd15.safetensors"],
|
| 66 |
+
"IP Adapter Plus Face 1.5": [
|
| 67 |
+
"https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus-face_sd15.safetensors ip-adapter-plus-face_sd15.safetensors"],
|
| 68 |
+
"IP Adapter Full Face 1.5": [
|
| 69 |
+
"https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-full-face_sd15.safetensors ip-adapter-full-face_sd15.safetensors"],
|
| 70 |
+
|
| 71 |
+
"IP Adapter FaceID 1.5": [
|
| 72 |
+
"https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid_sd15.bin",
|
| 73 |
+
f"https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid_sd15_lora.safetensors {path}/models/loras \
|
| 74 |
+
ip-adapter-faceid_sd15_lora.safetensors"],
|
| 75 |
+
"IP Adapter FaceID Plus 1.5": [
|
| 76 |
+
"https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plus_sd15.bin ip-adapter-faceid-plus_sd15.bin",
|
| 77 |
+
f"https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plus_sd15_lora.safetensors {path}/models/loras \
|
| 78 |
+
ip-adapter-faceid-plus_sd15_lora.safetensors"],
|
| 79 |
+
"IP Adapter FaceID PlusV2 1.5": [
|
| 80 |
+
"https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plusv2_sd15.bin ip-adapter-faceid-plusv2_sd15.bin",
|
| 81 |
+
f"https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plusv2_sd15_lora.safetensors {path}/models/loras \
|
| 82 |
+
ip-adapter-faceid-plusv2_sd15_lora.safetensors"],
|
| 83 |
+
"IP Adapter FaceID Portrait 1.5": [
|
| 84 |
+
"https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-portrait_sd15.bin"]
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
list_half = len(url_list) // 2
|
| 88 |
+
half_list_1 = dict(list(url_list.items())[:list_half])
|
| 89 |
+
half_list_2 = dict(list(url_list.items())[list_half:])
|
| 90 |
+
|
| 91 |
+
cb1 = widgets.VBox(
|
| 92 |
+
[widgets.Checkbox(value=False, description=name, style={'description_width': '0px'})
|
| 93 |
+
for name in half_list_1])
|
| 94 |
+
cb1.add_class("checkbox-group1")
|
| 95 |
+
|
| 96 |
+
cb2 = widgets.VBox(
|
| 97 |
+
[widgets.Checkbox(value=False, description=name, style={'description_width': '0px'})
|
| 98 |
+
for name in half_list_2])
|
| 99 |
+
cb2.add_class("checkbox-group2")
|
| 100 |
+
|
| 101 |
+
db = widgets.Button(description="Download")
|
| 102 |
+
db.add_class("download-button")
|
| 103 |
+
dbo = widgets.Output()
|
| 104 |
+
cbc = widgets.HBox([cb1, cb2], layout=widgets.Layout(align_items='flex-start'))
|
| 105 |
+
|
| 106 |
+
gariz3 = """<div class="gradient-cn2">asd</div>"""
|
| 107 |
+
garis3 = widgets.Output()
|
| 108 |
+
|
| 109 |
+
def sa_cb(b):
|
| 110 |
+
for checkbox in cb1.children + cb2.children:
|
| 111 |
+
checkbox.value = True
|
| 112 |
+
|
| 113 |
+
def usa_cb(b):
|
| 114 |
+
for checkbox in cb1.children + cb2.children:
|
| 115 |
+
checkbox.value = False
|
| 116 |
+
|
| 117 |
+
sab = widgets.Button(description="Select All")
|
| 118 |
+
sab.add_class("select-all-button")
|
| 119 |
+
sab.on_click(sa_cb)
|
| 120 |
+
|
| 121 |
+
usab = widgets.Button(description="Unselect All")
|
| 122 |
+
usab.add_class("unselect-all-button")
|
| 123 |
+
usab.on_click(usa_cb)
|
| 124 |
+
|
| 125 |
+
bs = widgets.Button(description="")
|
| 126 |
+
bs.add_class("border-style")
|
| 127 |
+
|
| 128 |
+
bl = widgets.HBox([sab, usab, db, bs])
|
| 129 |
+
boks2 = widgets.VBox([bl, cbc], layout=Layout(
|
| 130 |
+
display='flex',
|
| 131 |
+
flex_flow='column',
|
| 132 |
+
width='630px',
|
| 133 |
+
height='455px',
|
| 134 |
+
align_items='center',
|
| 135 |
+
padding='10px'))
|
| 136 |
+
boks2.add_class("boks2")
|
| 137 |
+
|
| 138 |
+
def d_b_click(b):
|
| 139 |
+
surl = []
|
| 140 |
+
for checkbox, key in zip(cb1.children + cb2.children, list(url_list.keys())):
|
| 141 |
+
if checkbox.value:
|
| 142 |
+
surl.extend(url_list[key])
|
| 143 |
+
|
| 144 |
+
widgets.Widget.close(boks2)
|
| 145 |
+
dbo.clear_output()
|
| 146 |
+
|
| 147 |
+
with garis3:
|
| 148 |
+
display(HTML(gariz3))
|
| 149 |
+
|
| 150 |
+
with dbo:
|
| 151 |
+
say("【{red} Downloading{cyan} Controlnet{magenta} Models{yellow} 】{red}")
|
| 152 |
+
os.chdir(f"{path}/models/controlnet")
|
| 153 |
+
|
| 154 |
+
for url in surl:
|
| 155 |
+
download(url)
|
| 156 |
+
|
| 157 |
+
with garis3:
|
| 158 |
+
garis3.clear_output()
|
| 159 |
+
|
| 160 |
+
say("【{red} Done{d} 】{red}")
|
| 161 |
+
|
| 162 |
+
tempe()
|
| 163 |
+
display(boks2, dbo, garis3)
|
| 164 |
+
db.on_click(d_b_click)
|
cui.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import shlex
|
| 2 |
+
import subprocess
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
from IPython import get_ipython
|
| 5 |
+
|
| 6 |
+
list_1 = [
|
| 7 |
+
"rm -rf ~/tmp/* ~/tmp ~/ComfyUI/models/checkpoints ~/ComfyUI/models/loras ~/ComfyUI/models/controlnet"
|
| 8 |
+
]
|
| 9 |
+
|
| 10 |
+
list_2 = [
|
| 11 |
+
"ln -vs /tmp ~/tmp",
|
| 12 |
+
"ln -vs /tmp/ckpt ~/ComfyUI/models/checkpoints",
|
| 13 |
+
"ln -vs /tmp/lora ~/ComfyUI/models/loras",
|
| 14 |
+
"ln -vs /tmp/controlnet ~/ComfyUI/models/controlnet"
|
| 15 |
+
]
|
| 16 |
+
|
| 17 |
+
for cmd in list_1:
|
| 18 |
+
get_ipython().system(cmd)
|
| 19 |
+
|
| 20 |
+
for cmd in list_2:
|
| 21 |
+
run = shlex.split(cmd)
|
| 22 |
+
run = [str(Path(arg).expanduser()) for arg in run]
|
| 23 |
+
subprocess.run(run, check=True)
|
cui.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
https://civitai.com/api/download/models/150491 ~/ComfyUI/models/embeddings edgQuality.pt
|
| 2 |
+
https://huggingface.co/pantat88/ui/resolve/main/4x-UltraSharp.pth ~/ComfyUI/models/upscale_models
|
| 3 |
+
https://huggingface.co/pantat88/ui/resolve/main/4x-AnimeSharp.pth ~/ComfyUI/models/upscale_models
|
| 4 |
+
https://huggingface.co/pantat88/ui/resolve/main/4x_NMKD-Superscale-SP_178000_G.pth ~/ComfyUI/models/upscale_models
|
| 5 |
+
https://huggingface.co/pantat88/ui/resolve/main/4x_RealisticRescaler_100000_G.pth ~/ComfyUI/models/upscale_models
|
| 6 |
+
https://huggingface.co/pantat88/ui/resolve/main/8x_RealESRGAN.pth ~/ComfyUI/models/upscale_models
|
| 7 |
+
https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors ~/ComfyUI/models/vae
|
| 8 |
+
https://github.com/gutris1/segsmaker/raw/main/script/zrok_reg.py ~/ComfyUI/asd
|
custom_nodes.txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
git clone --recursive https://github.com/ssitu/ComfyUI_UltimateSDUpscale
|
| 2 |
+
git clone https://github.com/ltdrdata/ComfyUI-Manager
|
| 3 |
+
git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts
|
| 4 |
+
git clone https://github.com/city96/SD-Latent-Upscaler
|
| 5 |
+
git clone https://github.com/jags111/efficiency-nodes-comfyui
|
| 6 |
+
git clone https://github.com/BlenderNeko/ComfyUI_ADV_CLIP_emb
|
| 7 |
+
git clone https://github.com/ssitu/ComfyUI_NestedNodeBuilder
|
| 8 |
+
git clone https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet
|
| 9 |
+
git clone https://github.com/Fannovel16/comfyui_controlnet_aux
|
| 10 |
+
git clone https://github.com/SLAPaper/ComfyUI-Image-Selector
|
| 11 |
+
git clone https://github.com/Derfuu/Derfuu_ComfyUI_ModdedNodes
|
| 12 |
+
git clone https://github.com/FizzleDorf/ComfyUI_FizzNodes
|
| 13 |
+
git clone https://github.com/WASasquatch/was-node-suite-comfyui
|
| 14 |
+
git clone https://github.com/Gourieff/comfyui-reactor-node
|
| 15 |
+
git clone https://github.com/crystian/ComfyUI-Crystools
|
| 16 |
+
git clone https://github.com/djbielejeski/a-person-mask-generator
|
| 17 |
+
git clone https://github.com/chrisgoringe/cg-use-everywhere
|
| 18 |
+
git clone https://github.com/asagi4/comfyui-prompt-control
|
| 19 |
+
git clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved
|
| 20 |
+
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
|
custom_nodes_models.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
https://github.com/sczhou/CodeFormer/releases/download/v0.1.0/codeformer.pth ~/ComfyUI/models/facerestore_models
|
| 2 |
+
https://github.com/TencentARC/GFPGAN/releases/download/v1.3.4/GFPGANv1.4.pth ~/ComfyUI/models/facerestore_models
|
| 3 |
+
https://huggingface.co/guoyww/animatediff/resolve/main/mm_sd_v15_v2.ckpt ~/ComfyUI/custom_nodes/ComfyUI-AnimateDiff-Evolved/models
|
| 4 |
+
https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15.safetensors ~/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/models
|
| 5 |
+
https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter_sd15_light.safetensors ~/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/models
|
| 6 |
+
https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus_sd15.safetensors ~/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/models
|
| 7 |
+
https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-plus-face_sd15.safetensors ~/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/models
|
| 8 |
+
https://huggingface.co/h94/IP-Adapter/resolve/main/models/ip-adapter-full-face_sd15.safetensors ~/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus/models
|
| 9 |
+
https://huggingface.co/h94/IP-Adapter/resolve/main/models/image_encoder/model.safetensors ~/ComfyUI/models/clip_vision 1-5-image-encoder.safetensors
|
upscaler.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
https://huggingface.co/pantat88/ui/resolve/main/4x-UltraSharp.pth
|
| 2 |
+
https://huggingface.co/pantat88/ui/resolve/main/4x-AnimeSharp.pth
|
| 3 |
+
https://huggingface.co/pantat88/ui/resolve/main/4x_NMKD-Superscale-SP_178000_G.pth
|
| 4 |
+
https://huggingface.co/pantat88/ui/resolve/main/4x_RealisticRescaler_100000_G.pth
|
| 5 |
+
https://huggingface.co/pantat88/ui/resolve/main/8x_RealESRGAN.pth
|