Commit ·
09ec114
1
Parent(s): b7256a3
Rename vorstcavry/satu_klik(fix).ipynb to vorstcavry/satu_klik.ipynb
Browse files
vorstcavry/{satu_klik(fix).ipynb → satu_klik.ipynb}
RENAMED
|
@@ -199,93 +199,7 @@
|
|
| 199 |
"buttons_html = f'<div>{subscribe_button} {support_button} {saweria_button} {discord_button}</div>'\n",
|
| 200 |
"display(HTML(buttons_html))\n",
|
| 201 |
"\n",
|
| 202 |
-
|
| 203 |
-
" display(HTML(f'<audio src=\"{url}\" controls autoplay style=\"display:none\"></audio>'))\n",
|
| 204 |
-
"\n",
|
| 205 |
-
"audio_url = \"https://raw.githubusercontent.com/KoboldAI/KoboldAI-Client/main/colab/silence.m4a\"\n",
|
| 206 |
-
"audio_thread = threading.Thread(target=play_audio, args=(audio_url,))\n",
|
| 207 |
-
"audio_thread.start()\n",
|
| 208 |
-
"#@markdown #<font color=\"#7FFF00\">***JALANKAN DENGAN SEKALI KLIK***</font>\n",
|
| 209 |
-
"\n",
|
| 210 |
-
"%cd /content\n",
|
| 211 |
-
"\n",
|
| 212 |
-
"%env TF_CPP_MIN_LOG_LEVEL=1\n",
|
| 213 |
-
"\n",
|
| 214 |
-
"!apt -y update -qq\n",
|
| 215 |
-
"!wget https://github.com/camenduru/gperftools/releases/download/v1.0/libtcmalloc_minimal.so.4 -O /content/libtcmalloc_minimal.so.4\n",
|
| 216 |
-
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
| 217 |
-
"\n",
|
| 218 |
-
"!apt -y install -qq aria2 libcairo2-dev pkg-config python3-dev\n",
|
| 219 |
-
"!pip install -q torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.2+cu118 torchtext==0.15.2 torchdata==0.6.1 --extra-index-url https://download.pytorch.org/whl/cu118 -U\n",
|
| 220 |
-
"!pip install -q xformers==0.0.20 triton==2.0.0 gradio_client==0.2.7 -U\n",
|
| 221 |
-
"\n",
|
| 222 |
-
"!git clone -b v2.4 https://github.com/camenduru/stable-diffusion-webui /content/vorst-cavry\n",
|
| 223 |
-
"!git clone https://github.com/vorstcavry/vorstcavry-tunnels /content/vorst-cavry/extensions/tunnels\n",
|
| 224 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/embed/upscale/resolve/main/4x-UltraSharp.pth -d /content/vorst-cavry/models/ESRGAN -o 4x-UltraSharp.pth\n",
|
| 225 |
-
"!wget https://raw.githubusercontent.com/vorstcavry/s-scripts/main/run_n_times.py -O /content/vorst-cavry/scripts/run_n_times.py\n",
|
| 226 |
-
"#install-bahan-dasar\n",
|
| 227 |
-
"!git clone https://github.com/vorstcavry/lora /content/vorst-cavry/models/Lora/Lora-set\n",
|
| 228 |
-
"!git clone https://github.com/vorstcavry/embeddings /content/vorst-cavry/embeddings/negative\n",
|
| 229 |
-
"!git clone https://github.com/vorstcavry/Checkpoint-Model /content/vorst-cavry/models/Stable-diffusion/Checkpoint-Model\n",
|
| 230 |
-
"#menghapus git\n",
|
| 231 |
-
"!rm -rf /content/vorst-cavry/models/Stable-diffusion/Checkpoint-Model/.git\n",
|
| 232 |
-
"!rm -rf /content/vorst-cavry/embeddings/negative/.git\n",
|
| 233 |
-
"!rm -rf /content/vorst-cavry/models/Lora/Lora-set/.git\n",
|
| 234 |
-
"#install-ekstension\n",
|
| 235 |
-
"%cd /content/vorst-cavry/extensions\n",
|
| 236 |
-
"!git clone https://tinyurl.com/controlnet-s\n",
|
| 237 |
-
"!git clone https://tinyurl.com/depth-lib-hand\n",
|
| 238 |
-
"!git clone https://github.com/hnmr293/posex\n",
|
| 239 |
-
"!git clone https://github.com/BlafKing/sd-civitai-browser-plus\n",
|
| 240 |
-
"!git clone https://github.com/vorstcavry/images-browser\n",
|
| 241 |
-
"!git clone https://github.com/Iyashinouta/sd-model-downloader\n",
|
| 242 |
-
"!git clone https://github.com/IDEA-Research/DWPose\n",
|
| 243 |
-
"!git clone https://tinyurl.com/additional-networks-s\n",
|
| 244 |
-
"!git clone https://github.com/fkunn1326/openpose-editor\n",
|
| 245 |
-
"!git clone https://tinyurl.com/openpose-edit\n",
|
| 246 |
-
"!git clone https://github.com/NoCrypt/inpaint-nav\n",
|
| 247 |
-
"!git clone https://tinyurl.com/tagcomplete-1111\n",
|
| 248 |
-
"!git clone https://tinyurl.com/batchlink-download\n",
|
| 249 |
-
"!git clone https://tinyurl.com/catppuccin-themes-v\n",
|
| 250 |
-
"!git clone https://tinyurl.com/aspect-ratio-v\n",
|
| 251 |
-
"\n",
|
| 252 |
-
"%cd /content/vorst-cavry\n",
|
| 253 |
-
"\n",
|
| 254 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11e_sd15_ip2p.safetensors\n",
|
| 255 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11f1p_sd15_depth.safetensors\n",
|
| 256 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11p_sd15_canny.safetensors\n",
|
| 257 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11p_sd15_inpaint.safetensors\n",
|
| 258 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11f1p_sd15_depth.safetensors\n",
|
| 259 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11p_sd15_mlsd.safetensors\n",
|
| 260 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11p_sd15_normalbae.safetensors\n",
|
| 261 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11p_sd15_openpose.safetensors\n",
|
| 262 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11p_sd15_scribble.safetensors\n",
|
| 263 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11p_sd15_seg.safetensors\n",
|
| 264 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11p_sd15_softedge.safetensors\n",
|
| 265 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11p_sd15s2_lineart_anime.safetensors\n",
|
| 266 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors -d /content/vorst-cavry/models/ControlNet -o control_v11f1e_sd15_tile_fp16.safetensors\n",
|
| 267 |
-
"\n",
|
| 268 |
-
"#install-vae-untuk-model-checkpoint-yang-akan-dipakai\n",
|
| 269 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt -d /content/vorst-cavry/models/VAE -o vae-ft-mse-840000-ema-pruned.ckpt\n",
|
| 270 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/vorstcavry/vaecollection1/resolve/main/testclearvae.safetensors -d /content/vorst-cavry/models/VAE -o testclearvae.safetensors\n",
|
| 271 |
-
"\n",
|
| 272 |
-
"#install-lora\n",
|
| 273 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/vorstcavry/loraasia1/resolve/main/japaneseDollLikeness_v15.safetensors -d /content/vorst-cavry/models/Lora/Lora-set -o japaneseDollLikeness_v15.safetensors\n",
|
| 274 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/vorstcavry/loraasia1/resolve/main/koreanDollLikeness_v20.safetensors -d /content/vorst-cavry/models/Lora/Lora-set -o koreanDollLikeness_v20.safetensors\n",
|
| 275 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/vorstcavry/loraasia1/resolve/main/taiwanDollLikeness_v15.safetensors -d /content/vorst-cavry/models/Lora/Lora-set -o taiwanDollLikeness_v15.safetensors\n",
|
| 276 |
-
"\n",
|
| 277 |
-
"#install-Checkpoint\n",
|
| 278 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/AnonPerson/ChilloutMix/resolve/main/ChilloutMix-ni-fp16.safetensors -d /content/vorst-cavry/models/Stable-diffusion -o ChilloutMix-ni-fp16.safetensors\n",
|
| 279 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/vorstcavry/mymodel1/resolve/main/Cavry_V2.safetensors -d /content/vorst-cavry/models/Stable-diffusion -o Cavry_V2.safetensors\n",
|
| 280 |
-
"#intsall-Preview-Checkpoint\n",
|
| 281 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/vorstcavry/LoRA-set1/resolve/main/ChilloutMix-ni-fp16.preview.png -d /content/vorst-cavry/models/Stable-diffusion -o ChilloutMix-ni-fp16.preview.png\n",
|
| 282 |
-
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/vorstcavry/mymodel1/resolve/main/Cavry_V2.preview.png -d /content/vorst-cavry/models/Stable-diffusion -o Cavry_V2.preview.png\n",
|
| 283 |
-
"\n",
|
| 284 |
-
"\n",
|
| 285 |
-
"!sed -i -e '''/from modules import launch_utils/a\\import os''' /content/vorst-cavry/launch.py\n",
|
| 286 |
-
"!sed -i -e '''/ prepare_environment()/a\\ os.system\\(f\\\"\"\"sed -i -e ''\\\"s/dict()))/dict())).cuda()/g\\\"'' /content/vorst-cavry/repositories/stable-diffusion-stability-ai/ldm/util.py\"\"\")''' /content/vorst-cavry/launch.py\n",
|
| 287 |
-
"!sed -i -e 's/\\[\"sd_model_checkpoint\"\\]/\\[\"sd_model_checkpoint\",\"sd_vae\",\"CLIP_stop_at_last_layers\"\\]/g' /content/vorst-cavry/modules/shared.py\n",
|
| 288 |
-
"\n",
|
| 289 |
"!python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple\n"
|
| 290 |
]
|
| 291 |
},
|
|
|
|
| 199 |
"buttons_html = f'<div>{subscribe_button} {support_button} {saweria_button} {discord_button}</div>'\n",
|
| 200 |
"display(HTML(buttons_html))\n",
|
| 201 |
"\n",
|
| 202 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
"!python launch.py --listen --xformers --enable-insecure-extension-access --theme dark --gradio-queue --multiple\n"
|
| 204 |
]
|
| 205 |
},
|