Spaces:
Runtime error
Runtime error
File size: 29,651 Bytes
5b506c6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 |
{
"cells": [
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "jDgNH6nFnhtx",
"outputId": "1a4d563d-ec0b-4c2d-fbf3-bd7113c3547a"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Defaulting to user installation because normal site-packages is not writeable\n",
"Requirement already satisfied: fastapi==0.90 in c:\\users\\usuario\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\\localcache\\local-packages\\python312\\site-packages (0.90.0)\n",
"Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in c:\\users\\usuario\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\\localcache\\local-packages\\python312\\site-packages (from fastapi==0.90) (1.10.22)\n",
"Requirement already satisfied: starlette<=0.23.0,>=0.22.0 in c:\\users\\usuario\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\\localcache\\local-packages\\python312\\site-packages (from fastapi==0.90) (0.23.0)\n",
"Requirement already satisfied: typing-extensions>=4.2.0 in c:\\users\\usuario\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\\localcache\\local-packages\\python312\\site-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi==0.90) (4.14.1)\n",
"Requirement already satisfied: anyio<5,>=3.4.0 in c:\\users\\usuario\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\\localcache\\local-packages\\python312\\site-packages (from starlette<=0.23.0,>=0.22.0->fastapi==0.90) (4.9.0)\n",
"Requirement already satisfied: idna>=2.8 in c:\\users\\usuario\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\\localcache\\local-packages\\python312\\site-packages (from anyio<5,>=3.4.0->starlette<=0.23.0,>=0.22.0->fastapi==0.90) (3.10)\n",
"Requirement already satisfied: sniffio>=1.1 in c:\\users\\usuario\\appdata\\local\\packages\\pythonsoftwarefoundation.python.3.12_qbz5n2kfra8p0\\localcache\\local-packages\\python312\\site-packages (from anyio<5,>=3.4.0->starlette<=0.23.0,>=0.22.0->fastapi==0.90) (1.3.1)\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\n",
"[notice] A new release of pip is available: 25.0.1 -> 25.1.1\n",
"[notice] To update, run: C:\\Users\\USUARIO\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\python.exe -m pip install --upgrade pip\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 1183 100 1183 0 0 7014 0 --:--:-- --:--:-- --:--:-- 7083\n",
"\n",
" 11 231M 11 26.2M 0 0 27.6M 0 0:00:08 --:--:-- 0:00:08 27.6M\n",
" 34 231M 34 79.3M 0 0 40.7M 0 0:00:05 0:00:01 0:00:04 53.1M\n",
" 59 231M 59 137M 0 0 46.7M 0 0:00:04 0:00:02 0:00:02 55.7M\n",
" 87 231M 87 203M 0 0 51.6M 0 0:00:04 0:00:03 0:00:01 59.1M\n",
"100 231M 100 231M 0 0 51.8M 0 0:00:04 0:00:04 --:--:-- 58.3M\n",
"\"unzip\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"\"git\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"\"git\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"\"git\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"\"git\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"\"git\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"\"git\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"\"git\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"La sintaxis del comando no es correcta.\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 1223 100 1223 0 0 6056 0 --:--:-- --:--:-- --:--:-- 6084\n",
"Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip: \n",
"Warning: No such file or directory\n",
"\n",
" 0 68776 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 16384 bytes\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 1179 100 1179 0 0 6831 0 --:--:-- --:--:-- --:--:-- 6894\n",
"Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/embeddings/embeddings.zip: No such file or \n",
"Warning: directory\n",
"\n",
" 0 1509k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 15620 bytes\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"[WinError 3] El sistema no puede encontrar la ruta especificada: '/content/microsoftexcel/extensions'\n",
"c:\\Users\\USUARIO\\Downloads\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 1163 100 1163 0 0 6455 0 --:--:-- --:--:-- --:--:-- 6497\n",
"Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/models/ESRGAN/upscalers.zip: No such file or \n",
"Warning: directory\n",
"\n",
" 0 709M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 7036 bytes\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"[WinError 3] El sistema no puede encontrar la ruta especificada: '/content/microsoftexcel/embeddings'\n",
"c:\\Users\\USUARIO\\Downloads\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\"unzip\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"[WinError 3] El sistema no puede encontrar la ruta especificada: '/content/microsoftexcel/models/ESRGAN'\n",
"c:\\Users\\USUARIO\\Downloads\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\"unzip\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"\"unzip\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"[WinError 2] El sistema no puede encontrar el archivo especificado: '/content'\n",
"c:\\Users\\USUARIO\\Downloads\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\"rm\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 502 0 502 0 0 1221 0 --:--:-- --:--:-- --:--:-- 1224\n",
"Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/models/Stable-diffusion/beautifulRealistic_v60\n",
"Warning: .safetensors: No such file or directory\n",
"\n",
" 0 2033M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 1369 bytes\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"[WinError 3] El sistema no puede encontrar la ruta especificada: '/content/microsoftexcel'\n",
"c:\\Users\\USUARIO\\Downloads\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\"rm\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n",
"\"COMMANDLINE_ARGS\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n"
]
}
],
"source": [
"# Try this memory fix if we experiencing constant disconnect from colab server\n",
"#!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
"#!unzip /content/memfix.zip\n",
"#!apt install -qq libunwind8-dev\n",
"#!apt install -qq libcairo2-dev pkg-config python3-dev\n",
"#!dpkg -i *.deb\n",
"#%env LD_PRELOAD=libtcmalloc.so\n",
"#!rm *\n",
"!pip install fastapi==0.90\n",
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
"!unzip /content/microsoftexcel.zip\n",
"\n",
"# Extensions Section\n",
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
"# Additional Extensions\n",
"# !After Detailer\n",
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
"# Deforum\n",
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
"# Mov2mov\n",
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
"# roop\n",
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
"# SuperMerger\n",
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
"# TemporalKit\n",
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
"# Ultimate SD Upscale\n",
"!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
"\n",
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/Zabin/Resizers/resolve/main/ESRGAN.zip\n",
"%cd /content/microsoftexcel/extensions\n",
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
"%cd /content/microsoftexcel/embeddings\n",
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
"%cd /content/microsoftexcel/models/ESRGAN\n",
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
"!rm upscalers.zip\n",
"%cd /content\n",
"\n",
"# Model Code\n",
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/beautifulRealistic_v60.safetensors https://civitai.com/api/download/models/113479\n",
"\n",
"\n",
"# ControlNet\n",
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11e_sd15_ip2p.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11e_sd15_shuffle.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_canny.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_canny_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11f1p_sd15_depth.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_depth_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_inpaint.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_lineart.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_lineart_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_mlsd.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_normalbae.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_openpose.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_openpose_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_scribble.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_scribble_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_seg.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_seg_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15_softedge.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_softedge_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11p_sd15s2_lineart_anime.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/control_v11f1e_sd15_tile.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
"!rm microsoftexcel.zip\n",
"%cd /content/microsoftexcel\n",
"\n",
"# Web UI tunnel\n",
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --theme=dark\" REQS_FILE=\"requirements.txt\" python launch.py\n",
"# Use this command below to use cloudflare tunnel\n",
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## (OPTIONAL) LoRAs"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### 2. Load the LoRA & launch the web ui"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 505 0 505 0 0 1362 0 --:--:-- --:--:-- --:--:-- 1364\n",
"100 505 0 505 0 0 1361 0 --:--:-- --:--:-- --:--:-- 1364\n",
"Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/models/Lora/epiCRealismHelper.safetensors: No \n",
"Warning: such file or directory\n",
"\n",
" 0 55.8M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 988 bytes\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 1113 100 1113 0 0 6227 0 --:--:-- --:--:-- --:--:-- 6288\n",
"Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/models/Lora/more_details.safetensors: No such \n",
"Warning: file or directory\n",
"\n",
" 0 9324k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 15601 bytes\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 491 0 491 0 0 1048 0 --:--:-- --:--:-- --:--:-- 1049\n",
"Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/models/Lora/add_detail.safetensors: No such \n",
"Warning: file or directory\n",
"\n",
" 0 36.1M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 995 bytes\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 502 0 502 0 0 1400 0 --:--:-- --:--:-- --:--:-- 1406\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/models/Lora/epi_noiseoffset2.safetensors: No \n",
"Warning: such file or directory\n",
"\n",
" 0 77.7M 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 989 bytes\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"100 494 0 494 0 0 1507 0 --:--:-- --:--:-- --:--:-- 1515\n",
"Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/models/Lora/ng_deepnegative_v1_75t.pt: No \n",
"Warning: such file or directory\n",
"\n",
" 0 225k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 4107 bytes\n",
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
" Dload Upload Total Spent Left Speed\n",
"\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to open the file \n",
"Warning: /content/microsoftexcel/models/roop/inswapper_128.onnx: No such file \n",
"Warning: or directory\n",
"\n",
" 0 29 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\n",
"curl: (23) client returned ERROR on write of 29 bytes\n",
"\"COMMANDLINE_ARGS\" no se reconoce como un comando interno o externo,\n",
"programa o archivo por lotes ejecutable.\n"
]
}
],
"source": [
"# Copy the LoRA code from other LoRA setup (download the setup file after editing the LoRA code cell to avoid repeat input for next session)\n",
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
"\n",
"# Detail Tweaker\n",
"!curl -Lo /content/microsoftexcel/models/Lora/epiCRealismHelper.safetensors https://civitai.com/api/download/models/118945\n",
"# Detail Tweaker\n",
"!curl -Lo /content/microsoftexcel/models/Lora/more_details.safetensors https://huggingface.co/yungplin/More_details/resolve/main/more_details.safetensors\n",
"# Detail Tweaker\n",
"!curl -Lo /content/microsoftexcel/models/Lora/add_detail.safetensors https://civitai.com/api/download/models/62833\n",
"# Detail Tweaker\n",
"!curl -Lo /content/microsoftexcel/models/Lora/epi_noiseoffset2.safetensors https://civitai.com/api/download/models/16576\n",
"# Detail Tweaker\n",
"!curl -Lo /content/microsoftexcel/models/Lora/ng_deepnegative_v1_75t.pt https://civitai.com/api/download/models/5637\n",
"# Model of Roof\n",
"!curl -Lo /content/microsoftexcel/models/roop/inswapper_128.onnx https://huggingface.co/deepinsight/inswapper/resolve/main/inswapper_128.onnx\n",
"\n",
"# Add More Details\n",
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
"\n",
"# Additional LoRA 1\n",
"#!curl ...\n",
"\n",
"# Additional LoRA 2\n",
"#!curl ...\n",
"\n",
"# Additional LoRA 3\n",
"#!curl ...\n",
"\n",
"# ...\n",
"\n",
"# Web UI tunnel\n",
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --theme=dark\" REQS_FILE=\"requirements.txt\" python launch.py\n",
"# Use this command below to use cloudflare tunnel\n",
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 🎥 YouTube for more: [Malverse AI ](https://www.youtube.com/channel/UCq2ryqVO-QsBq64h-J2PqQA)\n",
"# 📦 Driver [CLOUD](https://drive.google.com/drive/folders/1z6xvZWrc-gLc0Q6ePnOhI-U-o5mKR-mv?usp=sharing)"
]
}
],
"metadata": {
"accelerator": "GPU",
"colab": {
"gpuType": "T4",
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.10"
},
"orig_nbformat": 4
},
"nbformat": 4,
"nbformat_minor": 0
} |