Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .github/FUNDING.yml +13 -0
- 3drenderingstyle_LoRA.ipynb +172 -0
- GTM_UltimateBlend_inpainting_v3.ipynb +138 -0
- IU_LoRA.ipynb +171 -0
- NIF222.ipynb +48 -0
- README.md +1 -12
- absolutereality.ipynb +190 -0
- abyssorangemix2.ipynb +182 -0
- abyssorangemix3.ipynb +182 -0
- abyssorangemix3A1.ipynb +182 -0
- abyssorangemix3A1B.ipynb +182 -0
- abyssorangemix3A2.ipynb +182 -0
- abyssorangemix3A3.ipynb +182 -0
- acertainthing.ipynb +181 -0
- aeros.ipynb +184 -0
- afrobullstyle_LoRA.ipynb +172 -0
- ai1px.ipynb +181 -0
- akemitakada1980sstyle_LoRA.ipynb +102 -0
- akiratoriyamastyle_LoRA.ipynb +100 -0
- allysmix.ipynb +181 -0
- amphibia.ipynb +49 -0
- analog.ipynb +181 -0
- animelineart_LoRA.ipynb +172 -0
- animescreencapstyle_LoRA.ipynb +173 -0
- animetarotcardartstyle_LoRA.ipynb +172 -0
- anygenv3.7.ipynb +182 -0
- anyhentai.ipynb +182 -0
- anylora.ipynb +181 -0
- anypastel.ipynb +182 -0
- anyssa.ipynb +182 -0
- anythingv3.ipynb +182 -0
- anythingv4.5.ipynb +182 -0
- anythingv5.ipynb +181 -0
- arcanediffusionv3.ipynb +172 -0
- azovyarpgartisttools.ipynb +181 -0
- babes.ipynb +182 -0
- based64.ipynb +182 -0
- basilmix.ipynb +50 -0
- binclassbetterbodies_LoRA.ipynb +175 -0
- blindbox_LoRA.ipynb +172 -0
- blueboys2d.ipynb +186 -0
- bra.ipynb +176 -0
- breakdomain.ipynb +182 -0
- breakdomainanime.ipynb +182 -0
- camelliamix25dv2.ipynb +182 -0
- cartoonish.ipynb +182 -0
- cetusmix.ipynb +182 -0
- chikmix.ipynb +181 -0
- chilled_re-generic.ipynb +176 -0
- chilled_re_generic.ipynb +171 -0
.github/FUNDING.yml
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# These are supported funding model platforms
|
2 |
+
|
3 |
+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
|
4 |
+
patreon: # Replace with a single Patreon username
|
5 |
+
open_collective: # Replace with a single Open Collective username
|
6 |
+
ko_fi: # Replace with a single Ko-fi username
|
7 |
+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
8 |
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
9 |
+
liberapay: # Replace with a single Liberapay username
|
10 |
+
issuehunt: # Replace with a single IssueHunt username
|
11 |
+
otechie: # Replace with a single Otechie username
|
12 |
+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
13 |
+
custom: ['https://www.buymeacoffee.com/nolanaatama']# Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
3drenderingstyle_LoRA.ipynb
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
21 |
+
"!unzip /content/memfix.zip\n",
|
22 |
+
"!apt -y update -qq\n",
|
23 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
24 |
+
"\n",
|
25 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
26 |
+
"!unzip /content/microsoftexcel.zip\n",
|
27 |
+
"\n",
|
28 |
+
"# Extensions Section\n",
|
29 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
30 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
31 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
33 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
35 |
+
"# Additional Extensions\n",
|
36 |
+
"# !After Detailer\n",
|
37 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
38 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
39 |
+
"# Deforum\n",
|
40 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
41 |
+
"# Mov2mov\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
43 |
+
"# roop\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
45 |
+
"# SuperMerger\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
47 |
+
"# TemporalKit\n",
|
48 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
49 |
+
"# Ultimate SD Upscale\n",
|
50 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
51 |
+
"\n",
|
52 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
53 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
54 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
56 |
+
"%cd /content/microsoftexcel/extensions\n",
|
57 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
59 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
61 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
62 |
+
"!rm upscalers.zip\n",
|
63 |
+
"%cd /content\n",
|
64 |
+
"\n",
|
65 |
+
"# Model(s) setup\n",
|
66 |
+
"# Below are model code for ReV Animated, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
67 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/revanimated.safetensors https://huggingface.co/nolanaatama/rvnmtd/resolve/main/rvnmtd.safetensors\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/revanimated.vae.pt https://huggingface.co/nolanaatama/rvnmtd/resolve/main/rvnmtd.vae.pt\n",
|
69 |
+
"\n",
|
70 |
+
"# ControlNet\n",
|
71 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
94 |
+
"!rm microsoftexcel.zip\n",
|
95 |
+
"%cd /content/microsoftexcel\n",
|
96 |
+
"\n",
|
97 |
+
"# Web UI tunnel\n",
|
98 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
99 |
+
"# Use this command below to use cloudflare tunnel\n",
|
100 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
101 |
+
]
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"cell_type": "markdown",
|
105 |
+
"source": [
|
106 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
107 |
+
],
|
108 |
+
"metadata": {
|
109 |
+
"id": "JUtPlg328avv"
|
110 |
+
}
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"cell_type": "markdown",
|
114 |
+
"source": [
|
115 |
+
"# 3. Load the LoRA & launch the web ui"
|
116 |
+
],
|
117 |
+
"metadata": {
|
118 |
+
"id": "qxhOCPrg7WXm"
|
119 |
+
}
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"cell_type": "code",
|
123 |
+
"source": [
|
124 |
+
"# Detail Tweaker\n",
|
125 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
126 |
+
"\n",
|
127 |
+
"# Add More Details\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# LoRA Code\n",
|
131 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/3drenderingstyle.safetensors https://huggingface.co/nolanaatama/3drndrngstyl/resolve/main/3drndrngstyl.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"\n",
|
134 |
+
"# Web UI tunnel\n",
|
135 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
136 |
+
"# Use this command below to use cloudflare tunnel\n",
|
137 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
138 |
+
],
|
139 |
+
"metadata": {
|
140 |
+
"id": "pZVeLcbD70Lf"
|
141 |
+
},
|
142 |
+
"execution_count": null,
|
143 |
+
"outputs": []
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"cell_type": "markdown",
|
147 |
+
"metadata": {
|
148 |
+
"id": "fhwIXzcgfkoR"
|
149 |
+
},
|
150 |
+
"source": [
|
151 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
152 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
153 |
+
]
|
154 |
+
}
|
155 |
+
],
|
156 |
+
"metadata": {
|
157 |
+
"accelerator": "GPU",
|
158 |
+
"colab": {
|
159 |
+
"provenance": []
|
160 |
+
},
|
161 |
+
"gpuClass": "standard",
|
162 |
+
"kernelspec": {
|
163 |
+
"display_name": "Python 3",
|
164 |
+
"name": "python3"
|
165 |
+
},
|
166 |
+
"language_info": {
|
167 |
+
"name": "python"
|
168 |
+
}
|
169 |
+
},
|
170 |
+
"nbformat": 4,
|
171 |
+
"nbformat_minor": 0
|
172 |
+
}
|
GTM_UltimateBlend_inpainting_v3.ipynb
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/sd-webui/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt install -qq libunwind8-dev\n",
|
14 |
+
"!dpkg -i *.deb\n",
|
15 |
+
"%env LD_PRELOAD=libtcmalloc.so\n",
|
16 |
+
"!rm *\n",
|
17 |
+
"!pip install --upgrade fastapi==0.90.1\n",
|
18 |
+
"!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui\n",
|
19 |
+
"!git clone https://github.com/nolanaatama/sd-webui-tunnels /content/stable-diffusion-webui/extensions/sd-webui-tunnels\n",
|
20 |
+
"!git clone https://github.com/Mikubill/sd-webui-controlnet /content/stable-diffusion-webui/extensions/sd-webui-controlnet\n",
|
21 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/stable-diffusion-webui/extensions/openpose-editor\n",
|
22 |
+
"!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser\n",
|
23 |
+
"!git clone https://github.com/DominikDoom/a1111-sd-webui-tagcomplete /content/stable-diffusion-webui/extensions/a1111-sd-webui-tagcomplete\n",
|
24 |
+
"# Model Code\n",
|
25 |
+
"!curl -Lo /content/stable-diffusion-webui/models/Stable-diffusion/GTM_UltimateBlend_inpainting_v3.safetensors https://huggingface.co/nolanaatama/gtmim/resolve/main/gtmim.safetensors\n",
|
26 |
+
"# ControlNet\n",
|
27 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_canny.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_canny-fp16.safetensors\n",
|
28 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_depth.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_depth-fp16.safetensors\n",
|
29 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_hed-fp16.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_hed-fp16.safetensors\n",
|
30 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_mlsd-fp16.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_mlsd-fp16.safetensors\n",
|
31 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_normal-fp16.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_normal-fp16.safetensors\n",
|
32 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_openpose-fp16.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_openpose-fp16.safetensors\n",
|
33 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_scribble-fp16.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_scribble-fp16.safetensors\n",
|
34 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/control_seg-fp16.safetensors https://huggingface.co/webui/ControlNet-modules-safetensors/resolve/main/control_seg-fp16.safetensors\n",
|
35 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_canny_sd14v1.pth\n",
|
36 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_color_sd14v1.pth\n",
|
37 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_depth_sd14v1.pth\n",
|
38 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_keypose_sd14v1.pth\n",
|
39 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_openpose_sd14v1.pth\n",
|
40 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_seg_sd14v1.pth\n",
|
41 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_sketch_sd14v1.pth\n",
|
42 |
+
"!curl -Lo /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/TencentARC/T2I-Adapter/resolve/main/models/t2iadapter_style_sd14v1.pth\n",
|
43 |
+
"import shutil\n",
|
44 |
+
"shutil.rmtree('/content/stable-diffusion-webui/embeddings')\n",
|
45 |
+
"%cd /content/stable-diffusion-webui\n",
|
46 |
+
"!git checkout 0cc0ee1\n",
|
47 |
+
"!git clone https://huggingface.co/nolanaatama/embeddings\n",
|
48 |
+
"# Web UI tunnel\n",
|
49 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension- --gradio-queue --remotemoe\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
50 |
+
"# If remotemoe failed to start, change '--remotemoe' to '--cloudflared' on the COMMANDLINE_ARGS line above to use cloudflare tunnel"
|
51 |
+
]
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"cell_type": "markdown",
|
55 |
+
"source": [
|
56 |
+
"## (OPTIONAL) LoRAs"
|
57 |
+
],
|
58 |
+
"metadata": {
|
59 |
+
"id": "0DwYF_aLUXKy"
|
60 |
+
}
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"cell_type": "markdown",
|
64 |
+
"source": [
|
65 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
66 |
+
],
|
67 |
+
"metadata": {
|
68 |
+
"id": "JUtPlg328avv"
|
69 |
+
}
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"cell_type": "markdown",
|
73 |
+
"source": [
|
74 |
+
"### 2. Load the LoRA & launch the web ui"
|
75 |
+
],
|
76 |
+
"metadata": {
|
77 |
+
"id": "xy_WyDzNUgd2"
|
78 |
+
}
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"cell_type": "code",
|
82 |
+
"source": [
|
83 |
+
"# 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",
|
84 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
85 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
86 |
+
"\n",
|
87 |
+
"# LoRA 1\n",
|
88 |
+
"#!curl ...\n",
|
89 |
+
"#!mv ...\n",
|
90 |
+
"\n",
|
91 |
+
"# LoRA 2\n",
|
92 |
+
"#!curl ...\n",
|
93 |
+
"#!mv ...\n",
|
94 |
+
"\n",
|
95 |
+
"# LoRA 3\n",
|
96 |
+
"#!curl ...\n",
|
97 |
+
"#!mv ...\n",
|
98 |
+
"\n",
|
99 |
+
"# ...\n",
|
100 |
+
"\n",
|
101 |
+
"# Web UI tunnel\n",
|
102 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension- --gradio-queue --remotemoe\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
103 |
+
"# If remotemoe failed to start, change '--remotemoe' to '--cloudflared' on the COMMANDLINE_ARGS line above to use cloudflare tunnel"
|
104 |
+
],
|
105 |
+
"metadata": {
|
106 |
+
"id": "3EOPSiOgUs4z"
|
107 |
+
},
|
108 |
+
"execution_count": null,
|
109 |
+
"outputs": []
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"metadata": {
|
114 |
+
"id": "fhwIXzcgfkoR"
|
115 |
+
},
|
116 |
+
"source": [
|
117 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
118 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
119 |
+
]
|
120 |
+
}
|
121 |
+
],
|
122 |
+
"metadata": {
|
123 |
+
"accelerator": "GPU",
|
124 |
+
"colab": {
|
125 |
+
"provenance": []
|
126 |
+
},
|
127 |
+
"gpuClass": "standard",
|
128 |
+
"kernelspec": {
|
129 |
+
"display_name": "Python 3",
|
130 |
+
"name": "python3"
|
131 |
+
},
|
132 |
+
"language_info": {
|
133 |
+
"name": "python"
|
134 |
+
}
|
135 |
+
},
|
136 |
+
"nbformat": 4,
|
137 |
+
"nbformat_minor": 0
|
138 |
+
}
|
IU_LoRA.ipynb
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
21 |
+
"!unzip /content/memfix.zip\n",
|
22 |
+
"!apt -y update -qq\n",
|
23 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
24 |
+
"\n",
|
25 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
26 |
+
"!unzip /content/microsoftexcel.zip\n",
|
27 |
+
"\n",
|
28 |
+
"# Extensions Section\n",
|
29 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
30 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
31 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
33 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
35 |
+
"# Additional Extensions\n",
|
36 |
+
"# !After Detailer\n",
|
37 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
38 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
39 |
+
"# Deforum\n",
|
40 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
41 |
+
"# Mov2mov\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
43 |
+
"# roop\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
45 |
+
"# SuperMerger\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
47 |
+
"# TemporalKit\n",
|
48 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
49 |
+
"# Ultimate SD Upscale\n",
|
50 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
51 |
+
"\n",
|
52 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
53 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
54 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
56 |
+
"%cd /content/microsoftexcel/extensions\n",
|
57 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
59 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
61 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
62 |
+
"!rm upscalers.zip\n",
|
63 |
+
"%cd /content\n",
|
64 |
+
"\n",
|
65 |
+
"# Model(s) setup\n",
|
66 |
+
"# Below are model code for ChilloutMix, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
67 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/chilloutmixni.safetensors https://huggingface.co/nolanaatama/chomni/resolve/main/chomni.safetensors\n",
|
68 |
+
"\n",
|
69 |
+
"# ControlNet\n",
|
70 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
93 |
+
"!rm microsoftexcel.zip\n",
|
94 |
+
"%cd /content/microsoftexcel\n",
|
95 |
+
"\n",
|
96 |
+
"# Web UI tunnel\n",
|
97 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
98 |
+
"# Use this command below to use cloudflare tunnel\n",
|
99 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
100 |
+
]
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"# 3. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "qxhOCPrg7WXm"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# Detail Tweaker\n",
|
124 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
125 |
+
"\n",
|
126 |
+
"# Add More Details\n",
|
127 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
128 |
+
"\n",
|
129 |
+
"# LoRA Code\n",
|
130 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/IU.safetensors https://huggingface.co/nolanaatama/IU/resolve/main/IU.safetensors\n",
|
131 |
+
"\n",
|
132 |
+
"\n",
|
133 |
+
"# Web UI tunnel\n",
|
134 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
135 |
+
"# Use this command below to use cloudflare tunnel\n",
|
136 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
137 |
+
],
|
138 |
+
"metadata": {
|
139 |
+
"id": "pZVeLcbD70Lf"
|
140 |
+
},
|
141 |
+
"execution_count": null,
|
142 |
+
"outputs": []
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"cell_type": "markdown",
|
146 |
+
"metadata": {
|
147 |
+
"id": "fhwIXzcgfkoR"
|
148 |
+
},
|
149 |
+
"source": [
|
150 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
151 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
152 |
+
]
|
153 |
+
}
|
154 |
+
],
|
155 |
+
"metadata": {
|
156 |
+
"accelerator": "GPU",
|
157 |
+
"colab": {
|
158 |
+
"provenance": []
|
159 |
+
},
|
160 |
+
"gpuClass": "standard",
|
161 |
+
"kernelspec": {
|
162 |
+
"display_name": "Python 3",
|
163 |
+
"name": "python3"
|
164 |
+
},
|
165 |
+
"language_info": {
|
166 |
+
"name": "python"
|
167 |
+
}
|
168 |
+
},
|
169 |
+
"nbformat": 4,
|
170 |
+
"nbformat_minor": 0
|
171 |
+
}
|
NIF222.ipynb
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"nbformat": 4,
|
3 |
+
"nbformat_minor": 0,
|
4 |
+
"metadata": {
|
5 |
+
"colab": {
|
6 |
+
"provenance": []
|
7 |
+
},
|
8 |
+
"kernelspec": {
|
9 |
+
"name": "python3",
|
10 |
+
"display_name": "Python 3"
|
11 |
+
},
|
12 |
+
"language_info": {
|
13 |
+
"name": "python"
|
14 |
+
},
|
15 |
+
"accelerator": "GPU",
|
16 |
+
"gpuClass": "standard"
|
17 |
+
},
|
18 |
+
"cells": [
|
19 |
+
{
|
20 |
+
"cell_type": "code",
|
21 |
+
"source": [
|
22 |
+
"!pip install --upgrade fastapi==0.90.0\n",
|
23 |
+
"!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui\n",
|
24 |
+
"!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser\n",
|
25 |
+
"!curl -Lo NIF222.ckpt https://huggingface.co/Oosayam/InkpunkV2mergeF222/resolve/main/Inkpunk-Diffusion-v2_0.75-f222_0.25-Weighted_sum-merged_0-f222_1-Add_difference-merged_0.75-berrymix%20alt_0.25-Weighted_sum-merged.ckpt\n",
|
26 |
+
"!mv \"/content/NIF222.ckpt\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n",
|
27 |
+
"%cd /content/stable-diffusion-webui\n",
|
28 |
+
"!git checkout 91c8d0d\n",
|
29 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension-access\" REQS_FILE=\"requirements.txt\" python launch.py"
|
30 |
+
],
|
31 |
+
"metadata": {
|
32 |
+
"id": "sBbcB4vwj_jm"
|
33 |
+
},
|
34 |
+
"execution_count": null,
|
35 |
+
"outputs": []
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"cell_type": "markdown",
|
39 |
+
"metadata": {
|
40 |
+
"id": "fhwIXzcgfkoR"
|
41 |
+
},
|
42 |
+
"source": [
|
43 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
44 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-NIF222-colab)"
|
45 |
+
]
|
46 |
+
}
|
47 |
+
]
|
48 |
+
}
|
README.md
CHANGED
@@ -1,12 +1 @@
|
|
1 |
-
|
2 |
-
title: Nothing3
|
3 |
-
emoji: ⚡
|
4 |
-
colorFrom: indigo
|
5 |
-
colorTo: green
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: 4.42.0
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
-
---
|
11 |
-
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
+
# sd-1click-colab
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
absolutereality.ipynb
ADDED
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"colab": {
|
8 |
+
"background_save": true
|
9 |
+
},
|
10 |
+
"id": "sBbcB4vwj_jm"
|
11 |
+
},
|
12 |
+
"outputs": [],
|
13 |
+
"source": [
|
14 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
15 |
+
"!unzip /content/memfix.zip\n",
|
16 |
+
"!apt -y update -qq\n",
|
17 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
18 |
+
"\n",
|
19 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
20 |
+
"!unzip /content/microsoftexcel.zip\n",
|
21 |
+
"\n",
|
22 |
+
"# Extensions Section\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
25 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
26 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
27 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
28 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
29 |
+
"# Additional Extensions\n",
|
30 |
+
"# !After Detailer\n",
|
31 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
32 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
33 |
+
"# Deforum\n",
|
34 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
35 |
+
"# Mov2mov\n",
|
36 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
37 |
+
"# roop\n",
|
38 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
39 |
+
"# SuperMerger\n",
|
40 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
41 |
+
"# TemporalKit\n",
|
42 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
43 |
+
"# Ultimate SD Upscale\n",
|
44 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
45 |
+
"\n",
|
46 |
+
"!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
47 |
+
"!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
48 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
49 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
50 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
51 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
52 |
+
"%cd /content/microsoftexcel/extensions\n",
|
53 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
54 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
55 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
56 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
57 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
58 |
+
"!rm upscalers.zip\n",
|
59 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/8x_NMKD-Superscale_150000_G.pth https://huggingface.co/uwg/upscaler/resolve/main/ESRGAN/8x_NMKD-Superscale_150000_G.pth\n",
|
60 |
+
"%cd /content\n",
|
61 |
+
"\n",
|
62 |
+
"# Model Code\n",
|
63 |
+
"# Full Model\n",
|
64 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/absolutereality.safetensors https://huggingface.co/nolanaatama/bsltrlty/resolve/main/bsltrlty.safetensors\n",
|
65 |
+
"# Pruned Model\n",
|
66 |
+
"#!curl -Lo /content/microsoftexcel/models/Stable-diffusion/absoluterealityp.safetensors https://huggingface.co/nolanaatama/bsltrlty/resolve/main/bsltrltyprnd.safetensors\n",
|
67 |
+
"\n",
|
68 |
+
"# ControlNet\n",
|
69 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
85 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
92 |
+
"!rm microsoftexcel.zip\n",
|
93 |
+
"%cd /content/microsoftexcel\n",
|
94 |
+
"\n",
|
95 |
+
"# Web UI tunnel\n",
|
96 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
97 |
+
"# Use this command below to use cloudflare tunnel\n",
|
98 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
99 |
+
]
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "markdown",
|
103 |
+
"metadata": {
|
104 |
+
"id": "0DwYF_aLUXKy"
|
105 |
+
},
|
106 |
+
"source": [
|
107 |
+
"## (OPTIONAL) LoRAs"
|
108 |
+
]
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"cell_type": "markdown",
|
112 |
+
"metadata": {
|
113 |
+
"id": "JUtPlg328avv"
|
114 |
+
},
|
115 |
+
"source": [
|
116 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
117 |
+
]
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"cell_type": "markdown",
|
121 |
+
"metadata": {
|
122 |
+
"id": "xy_WyDzNUgd2"
|
123 |
+
},
|
124 |
+
"source": [
|
125 |
+
"### 2. Load the LoRA & launch the web ui"
|
126 |
+
]
|
127 |
+
},
|
128 |
+
{
|
129 |
+
"cell_type": "code",
|
130 |
+
"execution_count": null,
|
131 |
+
"metadata": {
|
132 |
+
"id": "3EOPSiOgUs4z"
|
133 |
+
},
|
134 |
+
"outputs": [],
|
135 |
+
"source": [
|
136 |
+
"# 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",
|
137 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
138 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
139 |
+
"\n",
|
140 |
+
"# Detail Tweaker\n",
|
141 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
142 |
+
"\n",
|
143 |
+
"# Add More Details\n",
|
144 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
145 |
+
"\n",
|
146 |
+
"# Additional LoRA 1\n",
|
147 |
+
"#!curl ...\n",
|
148 |
+
"\n",
|
149 |
+
"# Additional LoRA 2\n",
|
150 |
+
"#!curl ...\n",
|
151 |
+
"\n",
|
152 |
+
"# Additional LoRA 3\n",
|
153 |
+
"#!curl ...\n",
|
154 |
+
"\n",
|
155 |
+
"# ...\n",
|
156 |
+
"\n",
|
157 |
+
"# Web UI tunnel\n",
|
158 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
159 |
+
"# Use this command below to use cloudflare tunnel\n",
|
160 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
161 |
+
]
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"cell_type": "markdown",
|
165 |
+
"metadata": {
|
166 |
+
"id": "fhwIXzcgfkoR"
|
167 |
+
},
|
168 |
+
"source": [
|
169 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
170 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
171 |
+
]
|
172 |
+
}
|
173 |
+
],
|
174 |
+
"metadata": {
|
175 |
+
"accelerator": "GPU",
|
176 |
+
"colab": {
|
177 |
+
"provenance": []
|
178 |
+
},
|
179 |
+
"gpuClass": "standard",
|
180 |
+
"kernelspec": {
|
181 |
+
"display_name": "Python 3",
|
182 |
+
"name": "python3"
|
183 |
+
},
|
184 |
+
"language_info": {
|
185 |
+
"name": "python"
|
186 |
+
}
|
187 |
+
},
|
188 |
+
"nbformat": 4,
|
189 |
+
"nbformat_minor": 0
|
190 |
+
}
|
abyssorangemix2.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix2.safetensors https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix2.vae.pt https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
abyssorangemix3.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3.safetensors https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3_orangemixs.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3.vae.pt https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
abyssorangemix3A1.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3A1.safetensors https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1_orangemixs.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3A1.vae.pt https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
abyssorangemix3A1B.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3A1B.safetensors https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A1B_orangemixs.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3A1.vae.pt https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
abyssorangemix3A2.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3A2.safetensors https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A2_orangemixs.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3A2.vae.pt https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
abyssorangemix3A3.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3A3.safetensors https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3A3_orangemixs.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/abyssorangemix3A3.vae.pt https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
acertainthing.ipynb
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/acertainthing.ckpt https://huggingface.co/JosephusCheung/ACertainThing/resolve/main/ACertainThing.ckpt\n",
|
58 |
+
"\n",
|
59 |
+
"# ControlNet\n",
|
60 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
61 |
+
"#!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",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
83 |
+
"!rm microsoftexcel.zip\n",
|
84 |
+
"%cd /content/microsoftexcel\n",
|
85 |
+
"\n",
|
86 |
+
"# Web UI tunnel\n",
|
87 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
88 |
+
"# Use this command below to use cloudflare tunnel\n",
|
89 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
90 |
+
]
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"cell_type": "markdown",
|
94 |
+
"source": [
|
95 |
+
"## (OPTIONAL) LoRAs"
|
96 |
+
],
|
97 |
+
"metadata": {
|
98 |
+
"id": "0DwYF_aLUXKy"
|
99 |
+
}
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "markdown",
|
103 |
+
"source": [
|
104 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
105 |
+
],
|
106 |
+
"metadata": {
|
107 |
+
"id": "JUtPlg328avv"
|
108 |
+
}
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"cell_type": "markdown",
|
112 |
+
"source": [
|
113 |
+
"### 2. Load the LoRA & launch the web ui"
|
114 |
+
],
|
115 |
+
"metadata": {
|
116 |
+
"id": "xy_WyDzNUgd2"
|
117 |
+
}
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"cell_type": "code",
|
121 |
+
"source": [
|
122 |
+
"# 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",
|
123 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
124 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
125 |
+
"\n",
|
126 |
+
"# Detail Tweaker\n",
|
127 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
128 |
+
"\n",
|
129 |
+
"# Add More Details\n",
|
130 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
131 |
+
"\n",
|
132 |
+
"# Additional LoRA 1\n",
|
133 |
+
"#!curl ...\n",
|
134 |
+
"\n",
|
135 |
+
"# Additional LoRA 2\n",
|
136 |
+
"#!curl ...\n",
|
137 |
+
"\n",
|
138 |
+
"# Additional LoRA 3\n",
|
139 |
+
"#!curl ...\n",
|
140 |
+
"\n",
|
141 |
+
"# ...\n",
|
142 |
+
"\n",
|
143 |
+
"# Web UI tunnel\n",
|
144 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
145 |
+
"# Use this command below to use cloudflare tunnel\n",
|
146 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
147 |
+
],
|
148 |
+
"metadata": {
|
149 |
+
"id": "3EOPSiOgUs4z"
|
150 |
+
},
|
151 |
+
"execution_count": null,
|
152 |
+
"outputs": []
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"cell_type": "markdown",
|
156 |
+
"metadata": {
|
157 |
+
"id": "fhwIXzcgfkoR"
|
158 |
+
},
|
159 |
+
"source": [
|
160 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
161 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
162 |
+
]
|
163 |
+
}
|
164 |
+
],
|
165 |
+
"metadata": {
|
166 |
+
"accelerator": "GPU",
|
167 |
+
"colab": {
|
168 |
+
"provenance": []
|
169 |
+
},
|
170 |
+
"gpuClass": "standard",
|
171 |
+
"kernelspec": {
|
172 |
+
"display_name": "Python 3",
|
173 |
+
"name": "python3"
|
174 |
+
},
|
175 |
+
"language_info": {
|
176 |
+
"name": "python"
|
177 |
+
}
|
178 |
+
},
|
179 |
+
"nbformat": 4,
|
180 |
+
"nbformat_minor": 0
|
181 |
+
}
|
aeros.ipynb
ADDED
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/aeros.ckpt https://huggingface.co/nolanaatama/aeros/resolve/main/aeros.ckpt\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/aeros.vae.pt https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt\n",
|
59 |
+
"!mkdir \"/content/microsoftexcel/models/hypernetworks\"\n",
|
60 |
+
"!curl -Lo /content/microsoftexcel/models/hypernetworks/mjv4.pt https://huggingface.co/Hamaru/MJV4_Hypernetwork/resolve/main/Midjourney.pt\n",
|
61 |
+
"\n",
|
62 |
+
"# ControlNet\n",
|
63 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
84 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
85 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
86 |
+
"!rm microsoftexcel.zip\n",
|
87 |
+
"%cd /content/microsoftexcel\n",
|
88 |
+
"\n",
|
89 |
+
"# Web UI tunnel\n",
|
90 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
91 |
+
"# Use this command below to use cloudflare tunnel\n",
|
92 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
93 |
+
]
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"cell_type": "markdown",
|
97 |
+
"source": [
|
98 |
+
"## (OPTIONAL) LoRAs"
|
99 |
+
],
|
100 |
+
"metadata": {
|
101 |
+
"id": "0DwYF_aLUXKy"
|
102 |
+
}
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"cell_type": "markdown",
|
106 |
+
"source": [
|
107 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
108 |
+
],
|
109 |
+
"metadata": {
|
110 |
+
"id": "JUtPlg328avv"
|
111 |
+
}
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"cell_type": "markdown",
|
115 |
+
"source": [
|
116 |
+
"### 2. Load the LoRA & launch the web ui"
|
117 |
+
],
|
118 |
+
"metadata": {
|
119 |
+
"id": "xy_WyDzNUgd2"
|
120 |
+
}
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"cell_type": "code",
|
124 |
+
"source": [
|
125 |
+
"# 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",
|
126 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
127 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
128 |
+
"\n",
|
129 |
+
"# Detail Tweaker\n",
|
130 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
131 |
+
"\n",
|
132 |
+
"# Add More Details\n",
|
133 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
134 |
+
"\n",
|
135 |
+
"# Additional LoRA 1\n",
|
136 |
+
"#!curl ...\n",
|
137 |
+
"\n",
|
138 |
+
"# Additional LoRA 2\n",
|
139 |
+
"#!curl ...\n",
|
140 |
+
"\n",
|
141 |
+
"# Additional LoRA 3\n",
|
142 |
+
"#!curl ...\n",
|
143 |
+
"\n",
|
144 |
+
"# ...\n",
|
145 |
+
"\n",
|
146 |
+
"# Web UI tunnel\n",
|
147 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
148 |
+
"# Use this command below to use cloudflare tunnel\n",
|
149 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
150 |
+
],
|
151 |
+
"metadata": {
|
152 |
+
"id": "3EOPSiOgUs4z"
|
153 |
+
},
|
154 |
+
"execution_count": null,
|
155 |
+
"outputs": []
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"cell_type": "markdown",
|
159 |
+
"metadata": {
|
160 |
+
"id": "fhwIXzcgfkoR"
|
161 |
+
},
|
162 |
+
"source": [
|
163 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
164 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
165 |
+
]
|
166 |
+
}
|
167 |
+
],
|
168 |
+
"metadata": {
|
169 |
+
"accelerator": "GPU",
|
170 |
+
"colab": {
|
171 |
+
"provenance": []
|
172 |
+
},
|
173 |
+
"gpuClass": "standard",
|
174 |
+
"kernelspec": {
|
175 |
+
"display_name": "Python 3",
|
176 |
+
"name": "python3"
|
177 |
+
},
|
178 |
+
"language_info": {
|
179 |
+
"name": "python"
|
180 |
+
}
|
181 |
+
},
|
182 |
+
"nbformat": 4,
|
183 |
+
"nbformat_minor": 0
|
184 |
+
}
|
afrobullstyle_LoRA.ipynb
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
21 |
+
"!unzip /content/memfix.zip\n",
|
22 |
+
"!apt -y update -qq\n",
|
23 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
24 |
+
"\n",
|
25 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
26 |
+
"!unzip /content/microsoftexcel.zip\n",
|
27 |
+
"\n",
|
28 |
+
"# Extensions Section\n",
|
29 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
30 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
31 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
33 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
35 |
+
"# Additional Extensions\n",
|
36 |
+
"# !After Detailer\n",
|
37 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
38 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
39 |
+
"# Deforum\n",
|
40 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
41 |
+
"# Mov2mov\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
43 |
+
"# roop\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
45 |
+
"# SuperMerger\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
47 |
+
"# TemporalKit\n",
|
48 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
49 |
+
"# Ultimate SD Upscale\n",
|
50 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
51 |
+
"\n",
|
52 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
53 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
54 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
56 |
+
"%cd /content/microsoftexcel/extensions\n",
|
57 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
59 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
61 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
62 |
+
"!rm upscalers.zip\n",
|
63 |
+
"%cd /content\n",
|
64 |
+
"\n",
|
65 |
+
"# Model(s) setup\n",
|
66 |
+
"# Below are model code for Corneo's 7th Heaven Mix, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
67 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/corneos7thheavenmix.safetensors https://huggingface.co/nolanaatama/crns7thhvnmx/resolve/main/crns7thhvnmx.safetensors\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/corneos7thheavenmix.vae.pt https://huggingface.co/nolanaatama/av3/resolve/main/av3.vae.pt\n",
|
69 |
+
"\n",
|
70 |
+
"# ControlNet\n",
|
71 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
94 |
+
"!rm microsoftexcel.zip\n",
|
95 |
+
"%cd /content/microsoftexcel\n",
|
96 |
+
"\n",
|
97 |
+
"# Web UI tunnel\n",
|
98 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
99 |
+
"# Use this command below to use cloudflare tunnel\n",
|
100 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
101 |
+
]
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"cell_type": "markdown",
|
105 |
+
"source": [
|
106 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
107 |
+
],
|
108 |
+
"metadata": {
|
109 |
+
"id": "JUtPlg328avv"
|
110 |
+
}
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"cell_type": "markdown",
|
114 |
+
"source": [
|
115 |
+
"# 3. Load the LoRA & launch the web ui"
|
116 |
+
],
|
117 |
+
"metadata": {
|
118 |
+
"id": "qxhOCPrg7WXm"
|
119 |
+
}
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"cell_type": "code",
|
123 |
+
"source": [
|
124 |
+
"# Detail Tweaker\n",
|
125 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
126 |
+
"\n",
|
127 |
+
"# Add More Details\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# LoRA Code\n",
|
131 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/afrobullstyle.safetensors https://huggingface.co/nolanaatama/frbllstyl/resolve/main/frbllstyl.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"\n",
|
134 |
+
"# Web UI tunnel\n",
|
135 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
136 |
+
"# Use this command below to use cloudflare tunnel\n",
|
137 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
138 |
+
],
|
139 |
+
"metadata": {
|
140 |
+
"id": "pZVeLcbD70Lf"
|
141 |
+
},
|
142 |
+
"execution_count": null,
|
143 |
+
"outputs": []
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"cell_type": "markdown",
|
147 |
+
"metadata": {
|
148 |
+
"id": "fhwIXzcgfkoR"
|
149 |
+
},
|
150 |
+
"source": [
|
151 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
152 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
153 |
+
]
|
154 |
+
}
|
155 |
+
],
|
156 |
+
"metadata": {
|
157 |
+
"accelerator": "GPU",
|
158 |
+
"colab": {
|
159 |
+
"provenance": []
|
160 |
+
},
|
161 |
+
"gpuClass": "standard",
|
162 |
+
"kernelspec": {
|
163 |
+
"display_name": "Python 3",
|
164 |
+
"name": "python3"
|
165 |
+
},
|
166 |
+
"language_info": {
|
167 |
+
"name": "python"
|
168 |
+
}
|
169 |
+
},
|
170 |
+
"nbformat": 4,
|
171 |
+
"nbformat_minor": 0
|
172 |
+
}
|
ai1px.ipynb
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"nbformat": 4,
|
3 |
+
"nbformat_minor": 0,
|
4 |
+
"metadata": {
|
5 |
+
"colab": {
|
6 |
+
"provenance": []
|
7 |
+
},
|
8 |
+
"kernelspec": {
|
9 |
+
"name": "python3",
|
10 |
+
"display_name": "Python 3"
|
11 |
+
},
|
12 |
+
"language_info": {
|
13 |
+
"name": "python"
|
14 |
+
},
|
15 |
+
"accelerator": "GPU",
|
16 |
+
"gpuClass": "standard"
|
17 |
+
},
|
18 |
+
"cells": [
|
19 |
+
{
|
20 |
+
"cell_type": "code",
|
21 |
+
"source": [
|
22 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
23 |
+
"!unzip /content/memfix.zip\n",
|
24 |
+
"!apt -y update -qq\n",
|
25 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
26 |
+
"\n",
|
27 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
28 |
+
"!unzip /content/microsoftexcel.zip\n",
|
29 |
+
"\n",
|
30 |
+
"# Extensions Section\n",
|
31 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
33 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
35 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
36 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
37 |
+
"# Additional Extensions\n",
|
38 |
+
"# !After Detailer\n",
|
39 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
40 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
41 |
+
"# Deforum\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
43 |
+
"# Mov2mov\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
45 |
+
"# roop\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
47 |
+
"# SuperMerger\n",
|
48 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
49 |
+
"# TemporalKit\n",
|
50 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
51 |
+
"# Ultimate SD Upscale\n",
|
52 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
53 |
+
"\n",
|
54 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
56 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/extensions\n",
|
59 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
61 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
62 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
63 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
64 |
+
"!rm upscalers.zip\n",
|
65 |
+
"%cd /content\n",
|
66 |
+
"\n",
|
67 |
+
"# Model Code\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/ai1px.ckpt https://huggingface.co/PublicPrompts/All-In-One-Pixel-Model/resolve/main/Public-Prompts-Pixel-Model.ckpt\n",
|
69 |
+
"\n",
|
70 |
+
"# ControlNet\n",
|
71 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
94 |
+
"!rm microsoftexcel.zip\n",
|
95 |
+
"%cd /content/microsoftexcel\n",
|
96 |
+
"\n",
|
97 |
+
"# Web UI tunnel\n",
|
98 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
99 |
+
"# Use this command below to use cloudflare tunnel\n",
|
100 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
101 |
+
],
|
102 |
+
"metadata": {
|
103 |
+
"id": "sBbcB4vwj_jm"
|
104 |
+
},
|
105 |
+
"execution_count": null,
|
106 |
+
"outputs": []
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"cell_type": "markdown",
|
110 |
+
"source": [
|
111 |
+
"## (OPTIONAL) LoRAs"
|
112 |
+
],
|
113 |
+
"metadata": {
|
114 |
+
"id": "0DwYF_aLUXKy"
|
115 |
+
}
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"cell_type": "markdown",
|
119 |
+
"source": [
|
120 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output���"
|
121 |
+
],
|
122 |
+
"metadata": {
|
123 |
+
"id": "JUtPlg328avv"
|
124 |
+
}
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"cell_type": "markdown",
|
128 |
+
"source": [
|
129 |
+
"### 2. Load the LoRA & launch the web ui"
|
130 |
+
],
|
131 |
+
"metadata": {
|
132 |
+
"id": "xy_WyDzNUgd2"
|
133 |
+
}
|
134 |
+
},
|
135 |
+
{
|
136 |
+
"cell_type": "code",
|
137 |
+
"source": [
|
138 |
+
"# 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",
|
139 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
140 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
141 |
+
"\n",
|
142 |
+
"# Detail Tweaker\n",
|
143 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
144 |
+
"\n",
|
145 |
+
"# Add More Details\n",
|
146 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
147 |
+
"\n",
|
148 |
+
"# Additional LoRA 1\n",
|
149 |
+
"#!curl ...\n",
|
150 |
+
"\n",
|
151 |
+
"# Additional LoRA 2\n",
|
152 |
+
"#!curl ...\n",
|
153 |
+
"\n",
|
154 |
+
"# Additional LoRA 3\n",
|
155 |
+
"#!curl ...\n",
|
156 |
+
"\n",
|
157 |
+
"# ...\n",
|
158 |
+
"\n",
|
159 |
+
"# Web UI tunnel\n",
|
160 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
161 |
+
"# Use this command below to use cloudflare tunnel\n",
|
162 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
163 |
+
],
|
164 |
+
"metadata": {
|
165 |
+
"id": "3EOPSiOgUs4z"
|
166 |
+
},
|
167 |
+
"execution_count": null,
|
168 |
+
"outputs": []
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"cell_type": "markdown",
|
172 |
+
"metadata": {
|
173 |
+
"id": "HiyoVErlMRsn"
|
174 |
+
},
|
175 |
+
"source": [
|
176 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
177 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
178 |
+
]
|
179 |
+
}
|
180 |
+
]
|
181 |
+
}
|
akemitakada1980sstyle_LoRA.ipynb
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!pip install --upgrade fastapi==0.90.0\n",
|
21 |
+
"!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui\n",
|
22 |
+
"!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser\n",
|
23 |
+
"\n",
|
24 |
+
"# Model(s) setup\n",
|
25 |
+
"# Below are model code for AbyssOrangeMix2, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
26 |
+
"!curl -Lo abyssorangemix2.safetensors https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors\n",
|
27 |
+
"!curl -Lo abyssorangemix2.vae.pt https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt\n",
|
28 |
+
"!mv \"/content/abyssorangemix2.safetensors\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n",
|
29 |
+
"!mv \"/content/abyssorangemix2.vae.pt\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n",
|
30 |
+
"\n",
|
31 |
+
"# Additional embeddings\n",
|
32 |
+
"!curl -Lo bad-artist.pt https://huggingface.co/nick-x-hacker/bad-artist/resolve/main/bad-artist.pt\n",
|
33 |
+
"!curl -Lo bad-artist-anime.pt https://huggingface.co/nick-x-hacker/bad-artist/resolve/main/bad-artist-anime.pt\n",
|
34 |
+
"!curl -Lo bad_prompt_version2.pt https://huggingface.co/datasets/Nerfgun3/bad_prompt/resolve/main/bad_prompt_version2.pt\n",
|
35 |
+
"!mv \"/content/bad-artist.pt\" \"/content/stable-diffusion-webui/embeddings\"\n",
|
36 |
+
"!mv \"/content/bad-artist-anime.pt\" \"/content/stable-diffusion-webui/embeddings\"\n",
|
37 |
+
"!mv \"/content/bad_prompt_version2.pt\" \"/content/stable-diffusion-webui/embeddings\"\n",
|
38 |
+
"\n",
|
39 |
+
"%cd /content/stable-diffusion-webui\n",
|
40 |
+
"!git checkout 91c8d0d\n",
|
41 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --enable-insecure-extension-access\" REQS_FILE=\"requirements.txt\" python launch.py"
|
42 |
+
]
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"cell_type": "markdown",
|
46 |
+
"source": [
|
47 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
48 |
+
],
|
49 |
+
"metadata": {
|
50 |
+
"id": "JUtPlg328avv"
|
51 |
+
}
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"cell_type": "markdown",
|
55 |
+
"source": [
|
56 |
+
"# 3. Load the LoRA & launch the web ui"
|
57 |
+
],
|
58 |
+
"metadata": {
|
59 |
+
"id": "qxhOCPrg7WXm"
|
60 |
+
}
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"cell_type": "code",
|
64 |
+
"source": [
|
65 |
+
"!curl -Lo takada_akemi.safetensors https://huggingface.co/nolanaatama/at80slora/resolve/main/at80slora.safetensors\n",
|
66 |
+
"!mv \"/content/stable-diffusion-webui/takada_akemi.safetensors\" \"/content/stable-diffusion-webui/models/Lora\"\n",
|
67 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension-access\" REQS_FILE=\"requirements.txt\" python launch.py"
|
68 |
+
],
|
69 |
+
"metadata": {
|
70 |
+
"id": "pZVeLcbD70Lf"
|
71 |
+
},
|
72 |
+
"execution_count": null,
|
73 |
+
"outputs": []
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"cell_type": "markdown",
|
77 |
+
"metadata": {
|
78 |
+
"id": "fhwIXzcgfkoR"
|
79 |
+
},
|
80 |
+
"source": [
|
81 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
82 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
83 |
+
]
|
84 |
+
}
|
85 |
+
],
|
86 |
+
"metadata": {
|
87 |
+
"accelerator": "GPU",
|
88 |
+
"colab": {
|
89 |
+
"provenance": []
|
90 |
+
},
|
91 |
+
"gpuClass": "standard",
|
92 |
+
"kernelspec": {
|
93 |
+
"display_name": "Python 3",
|
94 |
+
"name": "python3"
|
95 |
+
},
|
96 |
+
"language_info": {
|
97 |
+
"name": "python"
|
98 |
+
}
|
99 |
+
},
|
100 |
+
"nbformat": 4,
|
101 |
+
"nbformat_minor": 0
|
102 |
+
}
|
akiratoriyamastyle_LoRA.ipynb
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!pip install --upgrade fastapi==0.90.0\n",
|
21 |
+
"!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui\n",
|
22 |
+
"!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser\n",
|
23 |
+
"\n",
|
24 |
+
"# Model(s) setup\n",
|
25 |
+
"# Below are model code for Anything V4.5, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
26 |
+
"!curl -Lo anythingv4.5.ckpt https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.5-pruned.ckpt\n",
|
27 |
+
"!curl -Lo anythingv4.5.vae.pt https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.0.vae.pt\n",
|
28 |
+
"!mv \"/content/anythingv4.5.ckpt\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n",
|
29 |
+
"!mv \"/content/anythingv4.5.vae.pt\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n",
|
30 |
+
"\n",
|
31 |
+
"# Additional embeddings\n",
|
32 |
+
"!curl -Lo bad-artist.pt https://huggingface.co/nick-x-hacker/bad-artist/resolve/main/bad-artist.pt\n",
|
33 |
+
"!curl -Lo bad-artist-anime.pt https://huggingface.co/nick-x-hacker/bad-artist/resolve/main/bad-artist-anime.pt\n",
|
34 |
+
"!mv \"/content/bad-artist.pt\" \"/content/stable-diffusion-webui/embeddings\"\n",
|
35 |
+
"!mv \"/content/bad-artist-anime.pt\" \"/content/stable-diffusion-webui/embeddings\"\n",
|
36 |
+
"\n",
|
37 |
+
"%cd /content/stable-diffusion-webui\n",
|
38 |
+
"!git checkout 91c8d0d\n",
|
39 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --enable-insecure-extension-access\" REQS_FILE=\"requirements.txt\" python launch.py"
|
40 |
+
]
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"cell_type": "markdown",
|
44 |
+
"source": [
|
45 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
46 |
+
],
|
47 |
+
"metadata": {
|
48 |
+
"id": "JUtPlg328avv"
|
49 |
+
}
|
50 |
+
},
|
51 |
+
{
|
52 |
+
"cell_type": "markdown",
|
53 |
+
"source": [
|
54 |
+
"# 3. Load the LoRA & launch the web ui"
|
55 |
+
],
|
56 |
+
"metadata": {
|
57 |
+
"id": "qxhOCPrg7WXm"
|
58 |
+
}
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"cell_type": "code",
|
62 |
+
"source": [
|
63 |
+
"!curl -Lo toriyama_akira_3.safetensors https://huggingface.co/nolanaatama/atslora/resolve/main/atslora.safetensors\n",
|
64 |
+
"!mv \"/content/stable-diffusion-webui/toriyama_akira_3.safetensors\" \"/content/stable-diffusion-webui/models/Lora\"\n",
|
65 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension-access\" REQS_FILE=\"requirements.txt\" python launch.py"
|
66 |
+
],
|
67 |
+
"metadata": {
|
68 |
+
"id": "pZVeLcbD70Lf"
|
69 |
+
},
|
70 |
+
"execution_count": null,
|
71 |
+
"outputs": []
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"cell_type": "markdown",
|
75 |
+
"metadata": {
|
76 |
+
"id": "fhwIXzcgfkoR"
|
77 |
+
},
|
78 |
+
"source": [
|
79 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
80 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
81 |
+
]
|
82 |
+
}
|
83 |
+
],
|
84 |
+
"metadata": {
|
85 |
+
"accelerator": "GPU",
|
86 |
+
"colab": {
|
87 |
+
"provenance": []
|
88 |
+
},
|
89 |
+
"gpuClass": "standard",
|
90 |
+
"kernelspec": {
|
91 |
+
"display_name": "Python 3",
|
92 |
+
"name": "python3"
|
93 |
+
},
|
94 |
+
"language_info": {
|
95 |
+
"name": "python"
|
96 |
+
}
|
97 |
+
},
|
98 |
+
"nbformat": 4,
|
99 |
+
"nbformat_minor": 0
|
100 |
+
}
|
allysmix.ipynb
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"nbformat": 4,
|
3 |
+
"nbformat_minor": 0,
|
4 |
+
"metadata": {
|
5 |
+
"colab": {
|
6 |
+
"provenance": []
|
7 |
+
},
|
8 |
+
"kernelspec": {
|
9 |
+
"name": "python3",
|
10 |
+
"display_name": "Python 3"
|
11 |
+
},
|
12 |
+
"language_info": {
|
13 |
+
"name": "python"
|
14 |
+
},
|
15 |
+
"accelerator": "GPU",
|
16 |
+
"gpuClass": "standard"
|
17 |
+
},
|
18 |
+
"cells": [
|
19 |
+
{
|
20 |
+
"cell_type": "code",
|
21 |
+
"source": [
|
22 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
23 |
+
"!unzip /content/memfix.zip\n",
|
24 |
+
"!apt -y update -qq\n",
|
25 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
26 |
+
"\n",
|
27 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
28 |
+
"!unzip /content/microsoftexcel.zip\n",
|
29 |
+
"\n",
|
30 |
+
"# Extensions Section\n",
|
31 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
33 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
35 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
36 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
37 |
+
"# Additional Extensions\n",
|
38 |
+
"# !After Detailer\n",
|
39 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
40 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
41 |
+
"# Deforum\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
43 |
+
"# Mov2mov\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
45 |
+
"# roop\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
47 |
+
"# SuperMerger\n",
|
48 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
49 |
+
"# TemporalKit\n",
|
50 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
51 |
+
"# Ultimate SD Upscale\n",
|
52 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
53 |
+
"\n",
|
54 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
56 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/extensions\n",
|
59 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
61 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
62 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
63 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
64 |
+
"!rm upscalers.zip\n",
|
65 |
+
"%cd /content\n",
|
66 |
+
"\n",
|
67 |
+
"# Model Code\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/allysmix.ckpt https://huggingface.co/nolanaatama/tam/resolve/main/theAllySMix_v10.ckpt\n",
|
69 |
+
"\n",
|
70 |
+
"# ControlNet\n",
|
71 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
94 |
+
"!rm microsoftexcel.zip\n",
|
95 |
+
"%cd /content/microsoftexcel\n",
|
96 |
+
"\n",
|
97 |
+
"# Web UI tunnel\n",
|
98 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
99 |
+
"# Use this command below to use cloudflare tunnel\n",
|
100 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
101 |
+
],
|
102 |
+
"metadata": {
|
103 |
+
"id": "sBbcB4vwj_jm"
|
104 |
+
},
|
105 |
+
"execution_count": null,
|
106 |
+
"outputs": []
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"cell_type": "markdown",
|
110 |
+
"source": [
|
111 |
+
"## (OPTIONAL) LoRAs"
|
112 |
+
],
|
113 |
+
"metadata": {
|
114 |
+
"id": "0DwYF_aLUXKy"
|
115 |
+
}
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"cell_type": "markdown",
|
119 |
+
"source": [
|
120 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
121 |
+
],
|
122 |
+
"metadata": {
|
123 |
+
"id": "JUtPlg328avv"
|
124 |
+
}
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"cell_type": "markdown",
|
128 |
+
"source": [
|
129 |
+
"### 2. Load the LoRA & launch the web ui"
|
130 |
+
],
|
131 |
+
"metadata": {
|
132 |
+
"id": "xy_WyDzNUgd2"
|
133 |
+
}
|
134 |
+
},
|
135 |
+
{
|
136 |
+
"cell_type": "code",
|
137 |
+
"source": [
|
138 |
+
"# 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",
|
139 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
140 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
141 |
+
"\n",
|
142 |
+
"# Detail Tweaker\n",
|
143 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
144 |
+
"\n",
|
145 |
+
"# Add More Details\n",
|
146 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
147 |
+
"\n",
|
148 |
+
"# Additional LoRA 1\n",
|
149 |
+
"#!curl ...\n",
|
150 |
+
"\n",
|
151 |
+
"# Additional LoRA 2\n",
|
152 |
+
"#!curl ...\n",
|
153 |
+
"\n",
|
154 |
+
"# Additional LoRA 3\n",
|
155 |
+
"#!curl ...\n",
|
156 |
+
"\n",
|
157 |
+
"# ...\n",
|
158 |
+
"\n",
|
159 |
+
"# Web UI tunnel\n",
|
160 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
161 |
+
"# Use this command below to use cloudflare tunnel\n",
|
162 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
163 |
+
],
|
164 |
+
"metadata": {
|
165 |
+
"id": "3EOPSiOgUs4z"
|
166 |
+
},
|
167 |
+
"execution_count": null,
|
168 |
+
"outputs": []
|
169 |
+
},
|
170 |
+
{
|
171 |
+
"cell_type": "markdown",
|
172 |
+
"metadata": {
|
173 |
+
"id": "cyTGldNrOKmM"
|
174 |
+
},
|
175 |
+
"source": [
|
176 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
177 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
178 |
+
]
|
179 |
+
}
|
180 |
+
]
|
181 |
+
}
|
amphibia.ipynb
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!pip install --upgrade fastapi==0.90.0\n",
|
12 |
+
"!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui\n",
|
13 |
+
"!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser\n",
|
14 |
+
"%pip install -q https://github.com/nolanaatama/sd-webui/releases/download/xformers/xformers-0.0.15+e163309.d20230103-cp38-cp38-linux_x86_64.whl\n",
|
15 |
+
"!curl -Lo amphibia.ckpt https://huggingface.co/Theodora527/Amphibia-Diffusion/resolve/main/Amphibia-Diffusion-v1.ckpt\n",
|
16 |
+
"!mv \"/content/amphibia.ckpt\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n",
|
17 |
+
"%cd /content/stable-diffusion-webui\n",
|
18 |
+
"!git checkout 11d432d # temporary fix\n",
|
19 |
+
"!COMMANDLINE_ARGS=\"--share --gradio-debug --medvram --disable-safe-unpickle --xformers --no-half-vae\" REQS_FILE=\"requirements.txt\" python launch.py"
|
20 |
+
]
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"cell_type": "markdown",
|
24 |
+
"metadata": {
|
25 |
+
"id": "fhwIXzcgfkoR"
|
26 |
+
},
|
27 |
+
"source": [
|
28 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
29 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-analog-colab)"
|
30 |
+
]
|
31 |
+
}
|
32 |
+
],
|
33 |
+
"metadata": {
|
34 |
+
"accelerator": "GPU",
|
35 |
+
"colab": {
|
36 |
+
"provenance": []
|
37 |
+
},
|
38 |
+
"gpuClass": "standard",
|
39 |
+
"kernelspec": {
|
40 |
+
"display_name": "Python 3",
|
41 |
+
"name": "python3"
|
42 |
+
},
|
43 |
+
"language_info": {
|
44 |
+
"name": "python"
|
45 |
+
}
|
46 |
+
},
|
47 |
+
"nbformat": 4,
|
48 |
+
"nbformat_minor": 0
|
49 |
+
}
|
analog.ipynb
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/analog.ckpt https://huggingface.co/wavymulder/Analog-Diffusion/resolve/main/analog-diffusion-1.0.ckpt\n",
|
58 |
+
"\n",
|
59 |
+
"# ControlNet\n",
|
60 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
61 |
+
"#!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",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
83 |
+
"!rm microsoftexcel.zip\n",
|
84 |
+
"%cd /content/microsoftexcel\n",
|
85 |
+
"\n",
|
86 |
+
"# Web UI tunnel\n",
|
87 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
88 |
+
"# Use this command below to use cloudflare tunnel\n",
|
89 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
90 |
+
]
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"cell_type": "markdown",
|
94 |
+
"source": [
|
95 |
+
"## (OPTIONAL) LoRAs"
|
96 |
+
],
|
97 |
+
"metadata": {
|
98 |
+
"id": "0DwYF_aLUXKy"
|
99 |
+
}
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "markdown",
|
103 |
+
"source": [
|
104 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
105 |
+
],
|
106 |
+
"metadata": {
|
107 |
+
"id": "JUtPlg328avv"
|
108 |
+
}
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"cell_type": "markdown",
|
112 |
+
"source": [
|
113 |
+
"### 2. Load the LoRA & launch the web ui"
|
114 |
+
],
|
115 |
+
"metadata": {
|
116 |
+
"id": "xy_WyDzNUgd2"
|
117 |
+
}
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"cell_type": "code",
|
121 |
+
"source": [
|
122 |
+
"# 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",
|
123 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
124 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
125 |
+
"\n",
|
126 |
+
"# Detail Tweaker\n",
|
127 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
128 |
+
"\n",
|
129 |
+
"# Add More Details\n",
|
130 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
131 |
+
"\n",
|
132 |
+
"# Additional LoRA 1\n",
|
133 |
+
"#!curl ...\n",
|
134 |
+
"\n",
|
135 |
+
"# Additional LoRA 2\n",
|
136 |
+
"#!curl ...\n",
|
137 |
+
"\n",
|
138 |
+
"# Additional LoRA 3\n",
|
139 |
+
"#!curl ...\n",
|
140 |
+
"\n",
|
141 |
+
"# ...\n",
|
142 |
+
"\n",
|
143 |
+
"# Web UI tunnel\n",
|
144 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
145 |
+
"# Use this command below to use cloudflare tunnel\n",
|
146 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
147 |
+
],
|
148 |
+
"metadata": {
|
149 |
+
"id": "3EOPSiOgUs4z"
|
150 |
+
},
|
151 |
+
"execution_count": null,
|
152 |
+
"outputs": []
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"cell_type": "markdown",
|
156 |
+
"metadata": {
|
157 |
+
"id": "L0l-P71UO5rG"
|
158 |
+
},
|
159 |
+
"source": [
|
160 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
161 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
162 |
+
]
|
163 |
+
}
|
164 |
+
],
|
165 |
+
"metadata": {
|
166 |
+
"accelerator": "GPU",
|
167 |
+
"colab": {
|
168 |
+
"provenance": []
|
169 |
+
},
|
170 |
+
"gpuClass": "standard",
|
171 |
+
"kernelspec": {
|
172 |
+
"display_name": "Python 3",
|
173 |
+
"name": "python3"
|
174 |
+
},
|
175 |
+
"language_info": {
|
176 |
+
"name": "python"
|
177 |
+
}
|
178 |
+
},
|
179 |
+
"nbformat": 4,
|
180 |
+
"nbformat_minor": 0
|
181 |
+
}
|
animelineart_LoRA.ipynb
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
21 |
+
"!unzip /content/memfix.zip\n",
|
22 |
+
"!apt -y update -qq\n",
|
23 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
24 |
+
"\n",
|
25 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
26 |
+
"!unzip /content/microsoftexcel.zip\n",
|
27 |
+
"\n",
|
28 |
+
"# Extensions Section\n",
|
29 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
30 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
31 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
33 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
35 |
+
"# Additional Extensions\n",
|
36 |
+
"# !After Detailer\n",
|
37 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
38 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
39 |
+
"# Deforum\n",
|
40 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
41 |
+
"# Mov2mov\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
43 |
+
"# roop\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
45 |
+
"# SuperMerger\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
47 |
+
"# TemporalKit\n",
|
48 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
49 |
+
"# Ultimate SD Upscale\n",
|
50 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
51 |
+
"\n",
|
52 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
53 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
54 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
56 |
+
"%cd /content/microsoftexcel/extensions\n",
|
57 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
59 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
61 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
62 |
+
"!rm upscalers.zip\n",
|
63 |
+
"%cd /content\n",
|
64 |
+
"\n",
|
65 |
+
"# Model(s) setup\n",
|
66 |
+
"# Below are model code for Anything V4.5 and Orange Mix VAE, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
67 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv4.5.safetensors https://huggingface.co/nolanaatama/nythngv45/resolve/main/nythngv45.safetensors\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv4.5.vae.pt https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt\n",
|
69 |
+
"\n",
|
70 |
+
"# ControlNet\n",
|
71 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
94 |
+
"!rm microsoftexcel.zip\n",
|
95 |
+
"%cd /content/microsoftexcel\n",
|
96 |
+
"\n",
|
97 |
+
"# Web UI tunnel\n",
|
98 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
99 |
+
"# Use this command below to use cloudflare tunnel\n",
|
100 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
101 |
+
]
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"cell_type": "markdown",
|
105 |
+
"source": [
|
106 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
107 |
+
],
|
108 |
+
"metadata": {
|
109 |
+
"id": "JUtPlg328avv"
|
110 |
+
}
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"cell_type": "markdown",
|
114 |
+
"source": [
|
115 |
+
"# 3. Load the LoRA & launch the web ui"
|
116 |
+
],
|
117 |
+
"metadata": {
|
118 |
+
"id": "qxhOCPrg7WXm"
|
119 |
+
}
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"cell_type": "code",
|
123 |
+
"source": [
|
124 |
+
"# Detail Tweaker\n",
|
125 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
126 |
+
"\n",
|
127 |
+
"# Add More Details\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# LoRA Code\n",
|
131 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/animeLineartMangaLike_v30MangaLike.safetensors https://huggingface.co/nolanaatama/nmlnrtstyl/resolve/main/nmlnrtstylv3.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"\n",
|
134 |
+
"# Web UI tunnel\n",
|
135 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
136 |
+
"# Use this command below to use cloudflare tunnel\n",
|
137 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
138 |
+
],
|
139 |
+
"metadata": {
|
140 |
+
"id": "pZVeLcbD70Lf"
|
141 |
+
},
|
142 |
+
"execution_count": null,
|
143 |
+
"outputs": []
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"cell_type": "markdown",
|
147 |
+
"metadata": {
|
148 |
+
"id": "fhwIXzcgfkoR"
|
149 |
+
},
|
150 |
+
"source": [
|
151 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
152 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
153 |
+
]
|
154 |
+
}
|
155 |
+
],
|
156 |
+
"metadata": {
|
157 |
+
"accelerator": "GPU",
|
158 |
+
"colab": {
|
159 |
+
"provenance": []
|
160 |
+
},
|
161 |
+
"gpuClass": "standard",
|
162 |
+
"kernelspec": {
|
163 |
+
"display_name": "Python 3",
|
164 |
+
"name": "python3"
|
165 |
+
},
|
166 |
+
"language_info": {
|
167 |
+
"name": "python"
|
168 |
+
}
|
169 |
+
},
|
170 |
+
"nbformat": 4,
|
171 |
+
"nbformat_minor": 0
|
172 |
+
}
|
animescreencapstyle_LoRA.ipynb
ADDED
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
21 |
+
"!unzip /content/memfix.zip\n",
|
22 |
+
"!apt -y update -qq\n",
|
23 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
24 |
+
"\n",
|
25 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
26 |
+
"!unzip /content/microsoftexcel.zip\n",
|
27 |
+
"\n",
|
28 |
+
"# Extensions Section\n",
|
29 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
30 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
31 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
33 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
35 |
+
"# Additional Extensions\n",
|
36 |
+
"# !After Detailer\n",
|
37 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
38 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
39 |
+
"# Deforum\n",
|
40 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
41 |
+
"# Mov2mov\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
43 |
+
"# roop\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
45 |
+
"# SuperMerger\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
47 |
+
"# TemporalKit\n",
|
48 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
49 |
+
"# Ultimate SD Upscale\n",
|
50 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
51 |
+
"\n",
|
52 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
53 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
54 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
56 |
+
"%cd /content/microsoftexcel/extensions\n",
|
57 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
59 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
61 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
62 |
+
"!rm upscalers.zip\n",
|
63 |
+
"%cd /content\n",
|
64 |
+
"\n",
|
65 |
+
"# Model(s) setup\n",
|
66 |
+
"# Below are model code for Anything V4.5, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
67 |
+
"# Model Code\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv4.5.safetensors https://huggingface.co/nolanaatama/nythngv45/resolve/main/nythngv45.safetensors\n",
|
69 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv4.5.vae.pt https://huggingface.co/nolanaatama/nythngv45/resolve/main/nythngv45.vae.pt\n",
|
70 |
+
"\n",
|
71 |
+
"# ControlNet\n",
|
72 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!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",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
94 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
95 |
+
"!rm microsoftexcel.zip\n",
|
96 |
+
"%cd /content/microsoftexcel\n",
|
97 |
+
"\n",
|
98 |
+
"# Web UI tunnel\n",
|
99 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
100 |
+
"# Use this command below to use cloudflare tunnel\n",
|
101 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
102 |
+
]
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"cell_type": "markdown",
|
106 |
+
"source": [
|
107 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
108 |
+
],
|
109 |
+
"metadata": {
|
110 |
+
"id": "JUtPlg328avv"
|
111 |
+
}
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"cell_type": "markdown",
|
115 |
+
"source": [
|
116 |
+
"# 3. Load the LoRA & launch the web ui"
|
117 |
+
],
|
118 |
+
"metadata": {
|
119 |
+
"id": "qxhOCPrg7WXm"
|
120 |
+
}
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"cell_type": "code",
|
124 |
+
"source": [
|
125 |
+
"# Detail Tweaker\n",
|
126 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
127 |
+
"\n",
|
128 |
+
"# Add More Details\n",
|
129 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
130 |
+
"\n",
|
131 |
+
"# LoRA Code\n",
|
132 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/anime_screencap_v2-000030.safetensors https://huggingface.co/nolanaatama/asslora/resolve/main/asslora.safetensors\n",
|
133 |
+
"\n",
|
134 |
+
"\n",
|
135 |
+
"# Web UI tunnel\n",
|
136 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
137 |
+
"# Use this command below to use cloudflare tunnel\n",
|
138 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
139 |
+
],
|
140 |
+
"metadata": {
|
141 |
+
"id": "pZVeLcbD70Lf"
|
142 |
+
},
|
143 |
+
"execution_count": null,
|
144 |
+
"outputs": []
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"cell_type": "markdown",
|
148 |
+
"metadata": {
|
149 |
+
"id": "fhwIXzcgfkoR"
|
150 |
+
},
|
151 |
+
"source": [
|
152 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
153 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
154 |
+
]
|
155 |
+
}
|
156 |
+
],
|
157 |
+
"metadata": {
|
158 |
+
"accelerator": "GPU",
|
159 |
+
"colab": {
|
160 |
+
"provenance": []
|
161 |
+
},
|
162 |
+
"gpuClass": "standard",
|
163 |
+
"kernelspec": {
|
164 |
+
"display_name": "Python 3",
|
165 |
+
"name": "python3"
|
166 |
+
},
|
167 |
+
"language_info": {
|
168 |
+
"name": "python"
|
169 |
+
}
|
170 |
+
},
|
171 |
+
"nbformat": 4,
|
172 |
+
"nbformat_minor": 0
|
173 |
+
}
|
animetarotcardartstyle_LoRA.ipynb
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
21 |
+
"!unzip /content/memfix.zip\n",
|
22 |
+
"!apt -y update -qq\n",
|
23 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
24 |
+
"\n",
|
25 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
26 |
+
"!unzip /content/microsoftexcel.zip\n",
|
27 |
+
"\n",
|
28 |
+
"# Extensions Section\n",
|
29 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
30 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
31 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
33 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
35 |
+
"# Additional Extensions\n",
|
36 |
+
"# !After Detailer\n",
|
37 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
38 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
39 |
+
"# Deforum\n",
|
40 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
41 |
+
"# Mov2mov\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
43 |
+
"# roop\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
45 |
+
"# SuperMerger\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
47 |
+
"# TemporalKit\n",
|
48 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
49 |
+
"# Ultimate SD Upscale\n",
|
50 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
51 |
+
"\n",
|
52 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
53 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
54 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
56 |
+
"%cd /content/microsoftexcel/extensions\n",
|
57 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
59 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
61 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
62 |
+
"!rm upscalers.zip\n",
|
63 |
+
"%cd /content\n",
|
64 |
+
"\n",
|
65 |
+
"# Model(s) setup\n",
|
66 |
+
"# Below are model code for Anything v4.5 model and OrangeMixs VAE, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
67 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv4.5.safetensors https://huggingface.co/nolanaatama/nythngv45/resolve/main/nythngv45.safetensors\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv4.5.vae.pt https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt\n",
|
69 |
+
"\n",
|
70 |
+
"# ControlNet\n",
|
71 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
94 |
+
"!rm microsoftexcel.zip\n",
|
95 |
+
"%cd /content/microsoftexcel\n",
|
96 |
+
"\n",
|
97 |
+
"# Web UI tunnel\n",
|
98 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
99 |
+
"# Use this command below to use cloudflare tunnel\n",
|
100 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
101 |
+
]
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"cell_type": "markdown",
|
105 |
+
"source": [
|
106 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
107 |
+
],
|
108 |
+
"metadata": {
|
109 |
+
"id": "JUtPlg328avv"
|
110 |
+
}
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"cell_type": "markdown",
|
114 |
+
"source": [
|
115 |
+
"# 3. Load the LoRA & launch the web ui"
|
116 |
+
],
|
117 |
+
"metadata": {
|
118 |
+
"id": "qxhOCPrg7WXm"
|
119 |
+
}
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"cell_type": "code",
|
123 |
+
"source": [
|
124 |
+
"# Detail Tweaker\n",
|
125 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
126 |
+
"\n",
|
127 |
+
"# Add More Details\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# LoRA Code\n",
|
131 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/animetarotcardartstyle.safetensors https://huggingface.co/nolanaatama/nmtrtcrdrtstyl/resolve/main/nmtrtcrdrtstyl.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"\n",
|
134 |
+
"# Web UI tunnel\n",
|
135 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
136 |
+
"# Use this command below to use cloudflare tunnel\n",
|
137 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
138 |
+
],
|
139 |
+
"metadata": {
|
140 |
+
"id": "pZVeLcbD70Lf"
|
141 |
+
},
|
142 |
+
"execution_count": null,
|
143 |
+
"outputs": []
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"cell_type": "markdown",
|
147 |
+
"metadata": {
|
148 |
+
"id": "fhwIXzcgfkoR"
|
149 |
+
},
|
150 |
+
"source": [
|
151 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
152 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
153 |
+
]
|
154 |
+
}
|
155 |
+
],
|
156 |
+
"metadata": {
|
157 |
+
"accelerator": "GPU",
|
158 |
+
"colab": {
|
159 |
+
"provenance": []
|
160 |
+
},
|
161 |
+
"gpuClass": "standard",
|
162 |
+
"kernelspec": {
|
163 |
+
"display_name": "Python 3",
|
164 |
+
"name": "python3"
|
165 |
+
},
|
166 |
+
"language_info": {
|
167 |
+
"name": "python"
|
168 |
+
}
|
169 |
+
},
|
170 |
+
"nbformat": 4,
|
171 |
+
"nbformat_minor": 0
|
172 |
+
}
|
anygenv3.7.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anygenv3.7.ckpt https://huggingface.co/nolanaatama/Anygen_v3.7/resolve/main/anygenz5.6.ckpt\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anygenv3.7.vae.pt https://huggingface.co/nolanaatama/Anygen_v3.7/resolve/main/anygenz5.6.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
anyhentai.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anyhentai.safetensors https://huggingface.co/nolanaatama/nyhnt/resolve/main/nyhnt.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anyhentai.vae.pt https://huggingface.co/nolanaatama/nyhnt/resolve/main/nyhnt.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
anylora.ipynb
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anylora.safetensors https://huggingface.co/nolanaatama/nylr/resolve/main/nylr.safetensors\n",
|
58 |
+
"\n",
|
59 |
+
"# ControlNet\n",
|
60 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
61 |
+
"#!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",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
83 |
+
"!rm microsoftexcel.zip\n",
|
84 |
+
"%cd /content/microsoftexcel\n",
|
85 |
+
"\n",
|
86 |
+
"# Web UI tunnel\n",
|
87 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
88 |
+
"# Use this command below to use cloudflare tunnel\n",
|
89 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
90 |
+
]
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"cell_type": "markdown",
|
94 |
+
"source": [
|
95 |
+
"## (OPTIONAL) LoRAs"
|
96 |
+
],
|
97 |
+
"metadata": {
|
98 |
+
"id": "0DwYF_aLUXKy"
|
99 |
+
}
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "markdown",
|
103 |
+
"source": [
|
104 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
105 |
+
],
|
106 |
+
"metadata": {
|
107 |
+
"id": "JUtPlg328avv"
|
108 |
+
}
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"cell_type": "markdown",
|
112 |
+
"source": [
|
113 |
+
"### 2. Load the LoRA & launch the web ui"
|
114 |
+
],
|
115 |
+
"metadata": {
|
116 |
+
"id": "xy_WyDzNUgd2"
|
117 |
+
}
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"cell_type": "code",
|
121 |
+
"source": [
|
122 |
+
"# 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",
|
123 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
124 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
125 |
+
"\n",
|
126 |
+
"# Detail Tweaker\n",
|
127 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
128 |
+
"\n",
|
129 |
+
"# Add More Details\n",
|
130 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
131 |
+
"\n",
|
132 |
+
"# Additional LoRA 1\n",
|
133 |
+
"#!curl ...\n",
|
134 |
+
"\n",
|
135 |
+
"# Additional LoRA 2\n",
|
136 |
+
"#!curl ...\n",
|
137 |
+
"\n",
|
138 |
+
"# Additional LoRA 3\n",
|
139 |
+
"#!curl ...\n",
|
140 |
+
"\n",
|
141 |
+
"# ...\n",
|
142 |
+
"\n",
|
143 |
+
"# Web UI tunnel\n",
|
144 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
145 |
+
"# Use this command below to use cloudflare tunnel\n",
|
146 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
147 |
+
],
|
148 |
+
"metadata": {
|
149 |
+
"id": "3EOPSiOgUs4z"
|
150 |
+
},
|
151 |
+
"execution_count": null,
|
152 |
+
"outputs": []
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"cell_type": "markdown",
|
156 |
+
"metadata": {
|
157 |
+
"id": "fhwIXzcgfkoR"
|
158 |
+
},
|
159 |
+
"source": [
|
160 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
161 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
162 |
+
]
|
163 |
+
}
|
164 |
+
],
|
165 |
+
"metadata": {
|
166 |
+
"accelerator": "GPU",
|
167 |
+
"colab": {
|
168 |
+
"provenance": []
|
169 |
+
},
|
170 |
+
"gpuClass": "standard",
|
171 |
+
"kernelspec": {
|
172 |
+
"display_name": "Python 3",
|
173 |
+
"name": "python3"
|
174 |
+
},
|
175 |
+
"language_info": {
|
176 |
+
"name": "python"
|
177 |
+
}
|
178 |
+
},
|
179 |
+
"nbformat": 4,
|
180 |
+
"nbformat_minor": 0
|
181 |
+
}
|
anypastel.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anypastel.safetensors https://huggingface.co/nolanaatama/nypstl/resolve/main/nypstl.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anypastel.vae.pt https://huggingface.co/nolanaatama/nypstl/resolve/main/nypstl.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
anyssa.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anyssa.ckpt https://huggingface.co/nolanaatama/Anyssa/resolve/main/anyssa.ckpt\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anyssa.vae.pt https://huggingface.co/nolanaatama/Anyssa/resolve/main/anyssa.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
anythingv3.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"nbformat": 4,
|
3 |
+
"nbformat_minor": 0,
|
4 |
+
"metadata": {
|
5 |
+
"colab": {
|
6 |
+
"provenance": []
|
7 |
+
},
|
8 |
+
"kernelspec": {
|
9 |
+
"name": "python3",
|
10 |
+
"display_name": "Python 3"
|
11 |
+
},
|
12 |
+
"language_info": {
|
13 |
+
"name": "python"
|
14 |
+
},
|
15 |
+
"accelerator": "GPU",
|
16 |
+
"gpuClass": "standard"
|
17 |
+
},
|
18 |
+
"cells": [
|
19 |
+
{
|
20 |
+
"cell_type": "code",
|
21 |
+
"source": [
|
22 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
23 |
+
"!unzip /content/memfix.zip\n",
|
24 |
+
"!apt -y update -qq\n",
|
25 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
26 |
+
"\n",
|
27 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
28 |
+
"!unzip /content/microsoftexcel.zip\n",
|
29 |
+
"\n",
|
30 |
+
"# Extensions Section\n",
|
31 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
33 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
35 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
36 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
37 |
+
"# Additional Extensions\n",
|
38 |
+
"# !After Detailer\n",
|
39 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
40 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
41 |
+
"# Deforum\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
43 |
+
"# Mov2mov\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
45 |
+
"# roop\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
47 |
+
"# SuperMerger\n",
|
48 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
49 |
+
"# TemporalKit\n",
|
50 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
51 |
+
"# Ultimate SD Upscale\n",
|
52 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
53 |
+
"\n",
|
54 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
56 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/extensions\n",
|
59 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
61 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
62 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
63 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
64 |
+
"!rm upscalers.zip\n",
|
65 |
+
"%cd /content\n",
|
66 |
+
"\n",
|
67 |
+
"# Model Code\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv3.ckpt https://huggingface.co/nolanaatama/av3/resolve/main/av3.ckpt\n",
|
69 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv3.vae.pt https://huggingface.co/nolanaatama/av3/resolve/main/av3.vae.pt\n",
|
70 |
+
"\n",
|
71 |
+
"# ControlNet\n",
|
72 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!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",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
94 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
95 |
+
"!rm microsoftexcel.zip\n",
|
96 |
+
"%cd /content/microsoftexcel\n",
|
97 |
+
"\n",
|
98 |
+
"# Web UI tunnel\n",
|
99 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
100 |
+
"# Use this command below to use cloudflare tunnel\n",
|
101 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
102 |
+
],
|
103 |
+
"metadata": {
|
104 |
+
"id": "sBbcB4vwj_jm"
|
105 |
+
},
|
106 |
+
"execution_count": null,
|
107 |
+
"outputs": []
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"cell_type": "markdown",
|
111 |
+
"source": [
|
112 |
+
"## (OPTIONAL) LoRAs"
|
113 |
+
],
|
114 |
+
"metadata": {
|
115 |
+
"id": "0DwYF_aLUXKy"
|
116 |
+
}
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"cell_type": "markdown",
|
120 |
+
"source": [
|
121 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
122 |
+
],
|
123 |
+
"metadata": {
|
124 |
+
"id": "JUtPlg328avv"
|
125 |
+
}
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"cell_type": "markdown",
|
129 |
+
"source": [
|
130 |
+
"### 2. Load the LoRA & launch the web ui"
|
131 |
+
],
|
132 |
+
"metadata": {
|
133 |
+
"id": "xy_WyDzNUgd2"
|
134 |
+
}
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"cell_type": "code",
|
138 |
+
"source": [
|
139 |
+
"# 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",
|
140 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
141 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
142 |
+
"\n",
|
143 |
+
"# Detail Tweaker\n",
|
144 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
145 |
+
"\n",
|
146 |
+
"# Add More Details\n",
|
147 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
148 |
+
"\n",
|
149 |
+
"# Additional LoRA 1\n",
|
150 |
+
"#!curl ...\n",
|
151 |
+
"\n",
|
152 |
+
"# Additional LoRA 2\n",
|
153 |
+
"#!curl ...\n",
|
154 |
+
"\n",
|
155 |
+
"# Additional LoRA 3\n",
|
156 |
+
"#!curl ...\n",
|
157 |
+
"\n",
|
158 |
+
"# ...\n",
|
159 |
+
"\n",
|
160 |
+
"# Web UI tunnel\n",
|
161 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
162 |
+
"# Use this command below to use cloudflare tunnel\n",
|
163 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
164 |
+
],
|
165 |
+
"metadata": {
|
166 |
+
"id": "3EOPSiOgUs4z"
|
167 |
+
},
|
168 |
+
"execution_count": null,
|
169 |
+
"outputs": []
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"cell_type": "markdown",
|
173 |
+
"metadata": {
|
174 |
+
"id": "RCKXEyqdIslR"
|
175 |
+
},
|
176 |
+
"source": [
|
177 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
178 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
179 |
+
]
|
180 |
+
}
|
181 |
+
]
|
182 |
+
}
|
anythingv4.5.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"nbformat": 4,
|
3 |
+
"nbformat_minor": 0,
|
4 |
+
"metadata": {
|
5 |
+
"colab": {
|
6 |
+
"provenance": []
|
7 |
+
},
|
8 |
+
"kernelspec": {
|
9 |
+
"name": "python3",
|
10 |
+
"display_name": "Python 3"
|
11 |
+
},
|
12 |
+
"language_info": {
|
13 |
+
"name": "python"
|
14 |
+
},
|
15 |
+
"accelerator": "GPU",
|
16 |
+
"gpuClass": "standard"
|
17 |
+
},
|
18 |
+
"cells": [
|
19 |
+
{
|
20 |
+
"cell_type": "code",
|
21 |
+
"source": [
|
22 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
23 |
+
"!unzip /content/memfix.zip\n",
|
24 |
+
"!apt -y update -qq\n",
|
25 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
26 |
+
"\n",
|
27 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
28 |
+
"!unzip /content/microsoftexcel.zip\n",
|
29 |
+
"\n",
|
30 |
+
"# Extensions Section\n",
|
31 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
33 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
35 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
36 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
37 |
+
"# Additional Extensions\n",
|
38 |
+
"# !After Detailer\n",
|
39 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
40 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
41 |
+
"# Deforum\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
43 |
+
"# Mov2mov\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
45 |
+
"# roop\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
47 |
+
"# SuperMerger\n",
|
48 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
49 |
+
"# TemporalKit\n",
|
50 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
51 |
+
"# Ultimate SD Upscale\n",
|
52 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
53 |
+
"\n",
|
54 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
56 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/extensions\n",
|
59 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
61 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
62 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
63 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
64 |
+
"!rm upscalers.zip\n",
|
65 |
+
"%cd /content\n",
|
66 |
+
"\n",
|
67 |
+
"# Model Code\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv4.5.safetensors https://huggingface.co/nolanaatama/nythngv45/resolve/main/nythngv45.safetensors\n",
|
69 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv4.5.vae.pt https://huggingface.co/nolanaatama/nythngv45/resolve/main/nythngv45.vae.pt\n",
|
70 |
+
"\n",
|
71 |
+
"# ControlNet\n",
|
72 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!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",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
94 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
95 |
+
"!rm microsoftexcel.zip\n",
|
96 |
+
"%cd /content/microsoftexcel\n",
|
97 |
+
"\n",
|
98 |
+
"# Web UI tunnel\n",
|
99 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
100 |
+
"# Use this command below to use cloudflare tunnel\n",
|
101 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
102 |
+
],
|
103 |
+
"metadata": {
|
104 |
+
"id": "sBbcB4vwj_jm"
|
105 |
+
},
|
106 |
+
"execution_count": null,
|
107 |
+
"outputs": []
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"cell_type": "markdown",
|
111 |
+
"source": [
|
112 |
+
"## (OPTIONAL) LoRAs"
|
113 |
+
],
|
114 |
+
"metadata": {
|
115 |
+
"id": "0DwYF_aLUXKy"
|
116 |
+
}
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"cell_type": "markdown",
|
120 |
+
"source": [
|
121 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
122 |
+
],
|
123 |
+
"metadata": {
|
124 |
+
"id": "JUtPlg328avv"
|
125 |
+
}
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"cell_type": "markdown",
|
129 |
+
"source": [
|
130 |
+
"### 2. Load the LoRA & launch the web ui"
|
131 |
+
],
|
132 |
+
"metadata": {
|
133 |
+
"id": "xy_WyDzNUgd2"
|
134 |
+
}
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"cell_type": "code",
|
138 |
+
"source": [
|
139 |
+
"# 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",
|
140 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
141 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
142 |
+
"\n",
|
143 |
+
"# Detail Tweaker\n",
|
144 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
145 |
+
"\n",
|
146 |
+
"# Add More Details\n",
|
147 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
148 |
+
"\n",
|
149 |
+
"# Additional LoRA 1\n",
|
150 |
+
"#!curl ...\n",
|
151 |
+
"\n",
|
152 |
+
"# Additional LoRA 2\n",
|
153 |
+
"#!curl ...\n",
|
154 |
+
"\n",
|
155 |
+
"# Additional LoRA 3\n",
|
156 |
+
"#!curl ...\n",
|
157 |
+
"\n",
|
158 |
+
"# ...\n",
|
159 |
+
"\n",
|
160 |
+
"# Web UI tunnel\n",
|
161 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
162 |
+
"# Use this command below to use cloudflare tunnel\n",
|
163 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
164 |
+
],
|
165 |
+
"metadata": {
|
166 |
+
"id": "3EOPSiOgUs4z"
|
167 |
+
},
|
168 |
+
"execution_count": null,
|
169 |
+
"outputs": []
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"cell_type": "markdown",
|
173 |
+
"metadata": {
|
174 |
+
"id": "Hf21nCQy12UM"
|
175 |
+
},
|
176 |
+
"source": [
|
177 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
178 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
179 |
+
]
|
180 |
+
}
|
181 |
+
]
|
182 |
+
}
|
anythingv5.ipynb
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/anythingv5.safetensors https://huggingface.co/nolanaatama/nythngv5/resolve/main/nythngv5.safetensors\n",
|
58 |
+
"\n",
|
59 |
+
"# ControlNet\n",
|
60 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
61 |
+
"#!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",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
83 |
+
"!rm microsoftexcel.zip\n",
|
84 |
+
"%cd /content/microsoftexcel\n",
|
85 |
+
"\n",
|
86 |
+
"# Web UI tunnel\n",
|
87 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
88 |
+
"# Use this command below to use cloudflare tunnel\n",
|
89 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
90 |
+
]
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"cell_type": "markdown",
|
94 |
+
"metadata": {
|
95 |
+
"id": "0DwYF_aLUXKy"
|
96 |
+
},
|
97 |
+
"source": [
|
98 |
+
"## (OPTIONAL) LoRAs"
|
99 |
+
]
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "markdown",
|
103 |
+
"metadata": {
|
104 |
+
"id": "JUtPlg328avv"
|
105 |
+
},
|
106 |
+
"source": [
|
107 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
108 |
+
]
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"cell_type": "markdown",
|
112 |
+
"metadata": {
|
113 |
+
"id": "xy_WyDzNUgd2"
|
114 |
+
},
|
115 |
+
"source": [
|
116 |
+
"### 2. Load the LoRA & launch the web ui"
|
117 |
+
]
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"cell_type": "code",
|
121 |
+
"execution_count": null,
|
122 |
+
"metadata": {
|
123 |
+
"id": "3EOPSiOgUs4z"
|
124 |
+
},
|
125 |
+
"outputs": [],
|
126 |
+
"source": [
|
127 |
+
"# 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",
|
128 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
129 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
130 |
+
"\n",
|
131 |
+
"# Detail Tweaker\n",
|
132 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
133 |
+
"\n",
|
134 |
+
"# Add More Details\n",
|
135 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
136 |
+
"\n",
|
137 |
+
"# Additional LoRA 1\n",
|
138 |
+
"#!curl ...\n",
|
139 |
+
"\n",
|
140 |
+
"# Additional LoRA 2\n",
|
141 |
+
"#!curl ...\n",
|
142 |
+
"\n",
|
143 |
+
"# Additional LoRA 3\n",
|
144 |
+
"#!curl ...\n",
|
145 |
+
"\n",
|
146 |
+
"# ...\n",
|
147 |
+
"\n",
|
148 |
+
"# Web UI tunnel\n",
|
149 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
150 |
+
"# Use this command below to use cloudflare tunnel\n",
|
151 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
152 |
+
]
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"cell_type": "markdown",
|
156 |
+
"metadata": {
|
157 |
+
"id": "fhwIXzcgfkoR"
|
158 |
+
},
|
159 |
+
"source": [
|
160 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
161 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
162 |
+
]
|
163 |
+
}
|
164 |
+
],
|
165 |
+
"metadata": {
|
166 |
+
"accelerator": "GPU",
|
167 |
+
"colab": {
|
168 |
+
"provenance": []
|
169 |
+
},
|
170 |
+
"gpuClass": "standard",
|
171 |
+
"kernelspec": {
|
172 |
+
"display_name": "Python 3",
|
173 |
+
"name": "python3"
|
174 |
+
},
|
175 |
+
"language_info": {
|
176 |
+
"name": "python"
|
177 |
+
}
|
178 |
+
},
|
179 |
+
"nbformat": 4,
|
180 |
+
"nbformat_minor": 0
|
181 |
+
}
|
arcanediffusionv3.ipynb
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"nbformat": 4,
|
3 |
+
"nbformat_minor": 0,
|
4 |
+
"metadata": {
|
5 |
+
"colab": {
|
6 |
+
"provenance": []
|
7 |
+
},
|
8 |
+
"kernelspec": {
|
9 |
+
"name": "python3",
|
10 |
+
"display_name": "Python 3"
|
11 |
+
},
|
12 |
+
"language_info": {
|
13 |
+
"name": "python"
|
14 |
+
},
|
15 |
+
"accelerator": "GPU",
|
16 |
+
"gpuClass": "standard"
|
17 |
+
},
|
18 |
+
"cells": [
|
19 |
+
{
|
20 |
+
"cell_type": "code",
|
21 |
+
"source": [
|
22 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
23 |
+
"!unzip /content/memfix.zip\n",
|
24 |
+
"!apt -y update -qq\n",
|
25 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
26 |
+
"\n",
|
27 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
28 |
+
"!unzip /content/microsoftexcel.zip\n",
|
29 |
+
"\n",
|
30 |
+
"# Extensions Section\n",
|
31 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
33 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
35 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
36 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
37 |
+
"# Additional Extensions\n",
|
38 |
+
"# !After Detailer\n",
|
39 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
40 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
41 |
+
"# Deforum\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
43 |
+
"# Mov2mov\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
45 |
+
"# roop\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
47 |
+
"# SuperMerger\n",
|
48 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
49 |
+
"# TemporalKit\n",
|
50 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
51 |
+
"# Ultimate SD Upscale\n",
|
52 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
53 |
+
"\n",
|
54 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
56 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/extensions\n",
|
59 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
61 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
62 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
63 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
64 |
+
"!rm upscalers.zip\n",
|
65 |
+
"%cd /content\n",
|
66 |
+
"\n",
|
67 |
+
"# Model Code\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/arcanediffusionv3.ckpt https://huggingface.co/nitrosocke/Arcane-Diffusion/resolve/main/arcane-diffusion-v3.ckpt\n",
|
69 |
+
"\n",
|
70 |
+
"# ControlNet\n",
|
71 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
94 |
+
"!rm microsoftexcel.zip\n",
|
95 |
+
"%cd /content/microsoftexcel\n",
|
96 |
+
"\n",
|
97 |
+
"# Web UI tunnel\n",
|
98 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
99 |
+
"# Use this command below to use cloudflare tunnel\n",
|
100 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
101 |
+
],
|
102 |
+
"metadata": {
|
103 |
+
"id": "sBbcB4vwj_jm"
|
104 |
+
},
|
105 |
+
"execution_count": null,
|
106 |
+
"outputs": []
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"cell_type": "markdown",
|
110 |
+
"source": [
|
111 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
112 |
+
],
|
113 |
+
"metadata": {
|
114 |
+
"id": "JUtPlg328avv"
|
115 |
+
}
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"cell_type": "markdown",
|
119 |
+
"source": [
|
120 |
+
"### 2. Load the LoRA & launch the web ui"
|
121 |
+
],
|
122 |
+
"metadata": {
|
123 |
+
"id": "xy_WyDzNUgd2"
|
124 |
+
}
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"cell_type": "code",
|
128 |
+
"source": [
|
129 |
+
"# 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",
|
130 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
131 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
132 |
+
"\n",
|
133 |
+
"# Detail Tweaker\n",
|
134 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
135 |
+
"\n",
|
136 |
+
"# Add More Details\n",
|
137 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 1\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# Additional LoRA 2\n",
|
143 |
+
"#!curl ...\n",
|
144 |
+
"\n",
|
145 |
+
"# Additional LoRA 3\n",
|
146 |
+
"#!curl ...\n",
|
147 |
+
"\n",
|
148 |
+
"# ...\n",
|
149 |
+
"\n",
|
150 |
+
"# Web UI tunnel\n",
|
151 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
152 |
+
"# Use this command below to use cloudflare tunnel\n",
|
153 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
154 |
+
],
|
155 |
+
"metadata": {
|
156 |
+
"id": "3EOPSiOgUs4z"
|
157 |
+
},
|
158 |
+
"execution_count": null,
|
159 |
+
"outputs": []
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"cell_type": "markdown",
|
163 |
+
"metadata": {
|
164 |
+
"id": "0Gfx3HOgLgci"
|
165 |
+
},
|
166 |
+
"source": [
|
167 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
168 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
169 |
+
]
|
170 |
+
}
|
171 |
+
]
|
172 |
+
}
|
azovyarpgartisttools.ipynb
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/azovyarpgartisttools.safetensors https://huggingface.co/nolanaatama/azvyrpgrtsttls/resolve/main/azvyrpgrtsttls.safetensors\n",
|
58 |
+
"\n",
|
59 |
+
"# ControlNet\n",
|
60 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
61 |
+
"#!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",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
83 |
+
"!rm microsoftexcel.zip\n",
|
84 |
+
"%cd /content/microsoftexcel\n",
|
85 |
+
"\n",
|
86 |
+
"# Web UI tunnel\n",
|
87 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
88 |
+
"# Use this command below to use cloudflare tunnel\n",
|
89 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
90 |
+
]
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"cell_type": "markdown",
|
94 |
+
"source": [
|
95 |
+
"## (OPTIONAL) LoRAs"
|
96 |
+
],
|
97 |
+
"metadata": {
|
98 |
+
"id": "0DwYF_aLUXKy"
|
99 |
+
}
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "markdown",
|
103 |
+
"source": [
|
104 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
105 |
+
],
|
106 |
+
"metadata": {
|
107 |
+
"id": "JUtPlg328avv"
|
108 |
+
}
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"cell_type": "markdown",
|
112 |
+
"source": [
|
113 |
+
"### 2. Load the LoRA & launch the web ui"
|
114 |
+
],
|
115 |
+
"metadata": {
|
116 |
+
"id": "xy_WyDzNUgd2"
|
117 |
+
}
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"cell_type": "code",
|
121 |
+
"source": [
|
122 |
+
"# 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",
|
123 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
124 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
125 |
+
"\n",
|
126 |
+
"# Detail Tweaker\n",
|
127 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
128 |
+
"\n",
|
129 |
+
"# Add More Details\n",
|
130 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
131 |
+
"\n",
|
132 |
+
"# Additional LoRA 1\n",
|
133 |
+
"#!curl ...\n",
|
134 |
+
"\n",
|
135 |
+
"# Additional LoRA 2\n",
|
136 |
+
"#!curl ...\n",
|
137 |
+
"\n",
|
138 |
+
"# Additional LoRA 3\n",
|
139 |
+
"#!curl ...\n",
|
140 |
+
"\n",
|
141 |
+
"# ...\n",
|
142 |
+
"\n",
|
143 |
+
"# Web UI tunnel\n",
|
144 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
145 |
+
"# Use this command below to use cloudflare tunnel\n",
|
146 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
147 |
+
],
|
148 |
+
"metadata": {
|
149 |
+
"id": "3EOPSiOgUs4z"
|
150 |
+
},
|
151 |
+
"execution_count": null,
|
152 |
+
"outputs": []
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"cell_type": "markdown",
|
156 |
+
"metadata": {
|
157 |
+
"id": "fhwIXzcgfkoR"
|
158 |
+
},
|
159 |
+
"source": [
|
160 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
161 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
162 |
+
]
|
163 |
+
}
|
164 |
+
],
|
165 |
+
"metadata": {
|
166 |
+
"accelerator": "GPU",
|
167 |
+
"colab": {
|
168 |
+
"provenance": []
|
169 |
+
},
|
170 |
+
"gpuClass": "standard",
|
171 |
+
"kernelspec": {
|
172 |
+
"display_name": "Python 3",
|
173 |
+
"name": "python3"
|
174 |
+
},
|
175 |
+
"language_info": {
|
176 |
+
"name": "python"
|
177 |
+
}
|
178 |
+
},
|
179 |
+
"nbformat": 4,
|
180 |
+
"nbformat_minor": 0
|
181 |
+
}
|
babes.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/babes.safetensors https://huggingface.co/nolanaatama/bbs/resolve/main/bbs.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/babes.vae.pt https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
based64.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/based64.safetensors https://huggingface.co/nolanaatama/bsd64/resolve/main/bsd64.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/based64.vae.pt https://huggingface.co/nolanaatama/bsd64/resolve/main/bsd64.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
basilmix.ipynb
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!pip install --upgrade fastapi==0.90.0\n",
|
12 |
+
"!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui\n",
|
13 |
+
"!git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser\n",
|
14 |
+
"!curl -Lo basilmix.safetensors https://huggingface.co/nuigurumi/basil_mix/resolve/main/Basil_mix_fixed.safetensors\n",
|
15 |
+
"!curl -Lo basilmix.vae.pt https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt\n",
|
16 |
+
"!mv \"/content/basilmix.safetensors\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n",
|
17 |
+
"!mv \"/content/basilmix.vae.pt\" \"/content/stable-diffusion-webui/models/Stable-diffusion\"\n",
|
18 |
+
"%cd /content/stable-diffusion-webui\n",
|
19 |
+
"!git checkout 91c8d0d\n",
|
20 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension-access\" REQS_FILE=\"requirements.txt\" python launch.py"
|
21 |
+
]
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"cell_type": "markdown",
|
25 |
+
"metadata": {
|
26 |
+
"id": "fhwIXzcgfkoR"
|
27 |
+
},
|
28 |
+
"source": [
|
29 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
30 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-analog-colab)"
|
31 |
+
]
|
32 |
+
}
|
33 |
+
],
|
34 |
+
"metadata": {
|
35 |
+
"accelerator": "GPU",
|
36 |
+
"colab": {
|
37 |
+
"provenance": []
|
38 |
+
},
|
39 |
+
"gpuClass": "standard",
|
40 |
+
"kernelspec": {
|
41 |
+
"display_name": "Python 3",
|
42 |
+
"name": "python3"
|
43 |
+
},
|
44 |
+
"language_info": {
|
45 |
+
"name": "python"
|
46 |
+
}
|
47 |
+
},
|
48 |
+
"nbformat": 4,
|
49 |
+
"nbformat_minor": 0
|
50 |
+
}
|
binclassbetterbodies_LoRA.ipynb
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
21 |
+
"!unzip /content/memfix.zip\n",
|
22 |
+
"!apt -y update -qq\n",
|
23 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
24 |
+
"\n",
|
25 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
26 |
+
"!unzip /content/microsoftexcel.zip\n",
|
27 |
+
"\n",
|
28 |
+
"# Extensions Section\n",
|
29 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
30 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
31 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
33 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
35 |
+
"# Additional Extensions\n",
|
36 |
+
"# !After Detailer\n",
|
37 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
38 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
39 |
+
"# Deforum\n",
|
40 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
41 |
+
"# Mov2mov\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
43 |
+
"# roop\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
45 |
+
"# SuperMerger\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
47 |
+
"# TemporalKit\n",
|
48 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
49 |
+
"# Ultimate SD Upscale\n",
|
50 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
51 |
+
"\n",
|
52 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
53 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
54 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
56 |
+
"%cd /content/microsoftexcel/extensions\n",
|
57 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
59 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
61 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
62 |
+
"!rm upscalers.zip\n",
|
63 |
+
"%cd /content\n",
|
64 |
+
"\n",
|
65 |
+
"# Model(s) setup\n",
|
66 |
+
"# Below are model code for ChilloutMix, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
67 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/chilloutmixni.safetensors https://huggingface.co/nolanaatama/chomni/resolve/main/chomni.safetensors\n",
|
68 |
+
"\n",
|
69 |
+
"# ControlNet\n",
|
70 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
93 |
+
"!rm microsoftexcel.zip\n",
|
94 |
+
"%cd /content/microsoftexcel\n",
|
95 |
+
"\n",
|
96 |
+
"# Web UI tunnel\n",
|
97 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
98 |
+
"# Use this command below to use cloudflare tunnel\n",
|
99 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
100 |
+
]
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"# 3. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "qxhOCPrg7WXm"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# Detail Tweaker\n",
|
124 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
125 |
+
"\n",
|
126 |
+
"# Add More Details\n",
|
127 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
128 |
+
"\n",
|
129 |
+
"# LoRA Code\n",
|
130 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/koreanDollLikeness_v15.safetensors https://huggingface.co/nolanaatama/kdllora/resolve/main/kdllorav15.safetensors\n",
|
131 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/japaneseDollLikeness_v10.safetensors https://huggingface.co/nolanaatama/jdllora/resolve/main/jdllora.safetensors\n",
|
132 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/taiwanDollLikeness_v10.safetensors https://huggingface.co/nolanaatama/tdllora/resolve/main/tdllora.safetensors\n",
|
133 |
+
"\n",
|
134 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/breastinClass.safetensors https://huggingface.co/nolanaatama/brstnclssbttrbds/resolve/main/brstnclssbttrbds.safetensors\n",
|
135 |
+
"\n",
|
136 |
+
"\n",
|
137 |
+
"# Web UI tunnel\n",
|
138 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
139 |
+
"# Use this command below to use cloudflare tunnel\n",
|
140 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
141 |
+
],
|
142 |
+
"metadata": {
|
143 |
+
"id": "pZVeLcbD70Lf"
|
144 |
+
},
|
145 |
+
"execution_count": null,
|
146 |
+
"outputs": []
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"cell_type": "markdown",
|
150 |
+
"metadata": {
|
151 |
+
"id": "fhwIXzcgfkoR"
|
152 |
+
},
|
153 |
+
"source": [
|
154 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
155 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
156 |
+
]
|
157 |
+
}
|
158 |
+
],
|
159 |
+
"metadata": {
|
160 |
+
"accelerator": "GPU",
|
161 |
+
"colab": {
|
162 |
+
"provenance": []
|
163 |
+
},
|
164 |
+
"gpuClass": "standard",
|
165 |
+
"kernelspec": {
|
166 |
+
"display_name": "Python 3",
|
167 |
+
"name": "python3"
|
168 |
+
},
|
169 |
+
"language_info": {
|
170 |
+
"name": "python"
|
171 |
+
}
|
172 |
+
},
|
173 |
+
"nbformat": 4,
|
174 |
+
"nbformat_minor": 0
|
175 |
+
}
|
blindbox_LoRA.ipynb
ADDED
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "markdown",
|
5 |
+
"source": [
|
6 |
+
"# 1. Setup the web ui"
|
7 |
+
],
|
8 |
+
"metadata": {
|
9 |
+
"id": "bsiZpfkU7S77"
|
10 |
+
}
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"cell_type": "code",
|
14 |
+
"execution_count": null,
|
15 |
+
"metadata": {
|
16 |
+
"id": "sBbcB4vwj_jm"
|
17 |
+
},
|
18 |
+
"outputs": [],
|
19 |
+
"source": [
|
20 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
21 |
+
"!unzip /content/memfix.zip\n",
|
22 |
+
"!apt -y update -qq\n",
|
23 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
24 |
+
"\n",
|
25 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
26 |
+
"!unzip /content/microsoftexcel.zip\n",
|
27 |
+
"\n",
|
28 |
+
"# Extensions Section\n",
|
29 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
30 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
31 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
32 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
33 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
34 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
35 |
+
"# Additional Extensions\n",
|
36 |
+
"# !After Detailer\n",
|
37 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
38 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
39 |
+
"# Deforum\n",
|
40 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
41 |
+
"# Mov2mov\n",
|
42 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
43 |
+
"# roop\n",
|
44 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
45 |
+
"# SuperMerger\n",
|
46 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
47 |
+
"# TemporalKit\n",
|
48 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
49 |
+
"# Ultimate SD Upscale\n",
|
50 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
51 |
+
"\n",
|
52 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
53 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
54 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
55 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
56 |
+
"%cd /content/microsoftexcel/extensions\n",
|
57 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
58 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
59 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
60 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
61 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
62 |
+
"!rm upscalers.zip\n",
|
63 |
+
"%cd /content\n",
|
64 |
+
"\n",
|
65 |
+
"# Model(s) setup\n",
|
66 |
+
"# Below are model code for ReV Animated, we always could change it to our desired model (how-to: https://youtu.be/vj-QrS_mWQI or https://youtu.be/MwyfwPFezvY)\n",
|
67 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/revanimated.safetensors https://huggingface.co/nolanaatama/rvnmtd/resolve/main/rvnmtd.safetensors\n",
|
68 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/revanimated.vae.pt https://huggingface.co/nolanaatama/rvnmtd/resolve/main/rvnmtd.vae.pt\n",
|
69 |
+
"\n",
|
70 |
+
"# ControlNet\n",
|
71 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!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",
|
81 |
+
"#!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",
|
82 |
+
"#!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",
|
83 |
+
"#!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",
|
84 |
+
"#!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",
|
85 |
+
"#!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",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
88 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
89 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
90 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
91 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
92 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
93 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
94 |
+
"!rm microsoftexcel.zip\n",
|
95 |
+
"%cd /content/microsoftexcel\n",
|
96 |
+
"\n",
|
97 |
+
"# Web UI tunnel\n",
|
98 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
99 |
+
"# Use this command below to use cloudflare tunnel\n",
|
100 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
101 |
+
]
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"cell_type": "markdown",
|
105 |
+
"source": [
|
106 |
+
"# 2. After the gradio link show up, stop the first cell & clear the code output👆"
|
107 |
+
],
|
108 |
+
"metadata": {
|
109 |
+
"id": "JUtPlg328avv"
|
110 |
+
}
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"cell_type": "markdown",
|
114 |
+
"source": [
|
115 |
+
"# 3. Load the LoRA & launch the web ui"
|
116 |
+
],
|
117 |
+
"metadata": {
|
118 |
+
"id": "qxhOCPrg7WXm"
|
119 |
+
}
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"cell_type": "code",
|
123 |
+
"source": [
|
124 |
+
"# Detail Tweaker\n",
|
125 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
126 |
+
"\n",
|
127 |
+
"# Add More Details\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# LoRA Code\n",
|
131 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/blindbox.safetensors https://huggingface.co/nolanaatama/blndbx/resolve/main/blndbx.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"\n",
|
134 |
+
"# Web UI tunnel\n",
|
135 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
136 |
+
"# Use this command below to use cloudflare tunnel\n",
|
137 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
138 |
+
],
|
139 |
+
"metadata": {
|
140 |
+
"id": "pZVeLcbD70Lf"
|
141 |
+
},
|
142 |
+
"execution_count": null,
|
143 |
+
"outputs": []
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"cell_type": "markdown",
|
147 |
+
"metadata": {
|
148 |
+
"id": "fhwIXzcgfkoR"
|
149 |
+
},
|
150 |
+
"source": [
|
151 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
152 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
153 |
+
]
|
154 |
+
}
|
155 |
+
],
|
156 |
+
"metadata": {
|
157 |
+
"accelerator": "GPU",
|
158 |
+
"colab": {
|
159 |
+
"provenance": []
|
160 |
+
},
|
161 |
+
"gpuClass": "standard",
|
162 |
+
"kernelspec": {
|
163 |
+
"display_name": "Python 3",
|
164 |
+
"name": "python3"
|
165 |
+
},
|
166 |
+
"language_info": {
|
167 |
+
"name": "python"
|
168 |
+
}
|
169 |
+
},
|
170 |
+
"nbformat": 4,
|
171 |
+
"nbformat_minor": 0
|
172 |
+
}
|
blueboys2d.ipynb
ADDED
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"# v2.0\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/blueboys2dv2.safetensors https://huggingface.co/nolanaatama/blbys2d/resolve/main/blbys2dv2.safetensors\n",
|
59 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/blueboys2dv2.vae.pt https://huggingface.co/nolanaatama/blbys2d/resolve/main/blbys2d.vae.pt\n",
|
60 |
+
"# v3.0\n",
|
61 |
+
"#!curl -Lo /content/microsoftexcel/models/Stable-diffusion/blueboys2dv3.safetensors https://huggingface.co/nolanaatama/blbys2d/resolve/main/blbys2dv3.safetensors\n",
|
62 |
+
"#!curl -Lo /content/microsoftexcel/models/Stable-diffusion/blueboys2dv3.vae.pt https://huggingface.co/nolanaatama/blbys2d/resolve/main/blbys2d.vae.pt\n",
|
63 |
+
"\n",
|
64 |
+
"# ControlNet\n",
|
65 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!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",
|
77 |
+
"#!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",
|
78 |
+
"#!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",
|
79 |
+
"#!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",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
84 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
85 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
86 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
87 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
88 |
+
"!rm microsoftexcel.zip\n",
|
89 |
+
"%cd /content/microsoftexcel\n",
|
90 |
+
"\n",
|
91 |
+
"# Web UI tunnel\n",
|
92 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
93 |
+
"# Use this command below to use cloudflare tunnel\n",
|
94 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
95 |
+
]
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"cell_type": "markdown",
|
99 |
+
"source": [
|
100 |
+
"## (OPTIONAL) LoRAs"
|
101 |
+
],
|
102 |
+
"metadata": {
|
103 |
+
"id": "0DwYF_aLUXKy"
|
104 |
+
}
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"cell_type": "markdown",
|
108 |
+
"source": [
|
109 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
110 |
+
],
|
111 |
+
"metadata": {
|
112 |
+
"id": "JUtPlg328avv"
|
113 |
+
}
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"cell_type": "markdown",
|
117 |
+
"source": [
|
118 |
+
"### 2. Load the LoRA & launch the web ui"
|
119 |
+
],
|
120 |
+
"metadata": {
|
121 |
+
"id": "xy_WyDzNUgd2"
|
122 |
+
}
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"cell_type": "code",
|
126 |
+
"source": [
|
127 |
+
"# 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",
|
128 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
129 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
130 |
+
"\n",
|
131 |
+
"# Detail Tweaker\n",
|
132 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
133 |
+
"\n",
|
134 |
+
"# Add More Details\n",
|
135 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
136 |
+
"\n",
|
137 |
+
"# Additional LoRA 1\n",
|
138 |
+
"#!curl ...\n",
|
139 |
+
"\n",
|
140 |
+
"# Additional LoRA 2\n",
|
141 |
+
"#!curl ...\n",
|
142 |
+
"\n",
|
143 |
+
"# Additional LoRA 3\n",
|
144 |
+
"#!curl ...\n",
|
145 |
+
"\n",
|
146 |
+
"# ...\n",
|
147 |
+
"\n",
|
148 |
+
"# Web UI tunnel\n",
|
149 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
150 |
+
"# Use this command below to use cloudflare tunnel\n",
|
151 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
152 |
+
],
|
153 |
+
"metadata": {
|
154 |
+
"id": "3EOPSiOgUs4z"
|
155 |
+
},
|
156 |
+
"execution_count": null,
|
157 |
+
"outputs": []
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"cell_type": "markdown",
|
161 |
+
"metadata": {
|
162 |
+
"id": "fhwIXzcgfkoR"
|
163 |
+
},
|
164 |
+
"source": [
|
165 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
166 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
167 |
+
]
|
168 |
+
}
|
169 |
+
],
|
170 |
+
"metadata": {
|
171 |
+
"accelerator": "GPU",
|
172 |
+
"colab": {
|
173 |
+
"provenance": []
|
174 |
+
},
|
175 |
+
"gpuClass": "standard",
|
176 |
+
"kernelspec": {
|
177 |
+
"display_name": "Python 3",
|
178 |
+
"name": "python3"
|
179 |
+
},
|
180 |
+
"language_info": {
|
181 |
+
"name": "python"
|
182 |
+
}
|
183 |
+
},
|
184 |
+
"nbformat": 4,
|
185 |
+
"nbformat_minor": 0
|
186 |
+
}
|
bra.ipynb
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/bra.safetensors https://huggingface.co/nolanaatama/bra/resolve/main/bra.safetensors\n",
|
58 |
+
"\n",
|
59 |
+
"# ControlNet\n",
|
60 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
61 |
+
"#!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",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
83 |
+
"!rm microsoftexcel.zip\n",
|
84 |
+
"%cd /content/microsoftexcel\n",
|
85 |
+
"\n",
|
86 |
+
"# Web UI tunnel\n",
|
87 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
88 |
+
"# Use this command below to use cloudflare tunnel\n",
|
89 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
90 |
+
]
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"cell_type": "markdown",
|
94 |
+
"source": [
|
95 |
+
"## (OPTIONAL) LoRAs"
|
96 |
+
],
|
97 |
+
"metadata": {
|
98 |
+
"id": "0DwYF_aLUXKy"
|
99 |
+
}
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "markdown",
|
103 |
+
"source": [
|
104 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
105 |
+
],
|
106 |
+
"metadata": {
|
107 |
+
"id": "JUtPlg328avv"
|
108 |
+
}
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"cell_type": "markdown",
|
112 |
+
"source": [
|
113 |
+
"### 2. Load the LoRA & launch the web ui"
|
114 |
+
],
|
115 |
+
"metadata": {
|
116 |
+
"id": "xy_WyDzNUgd2"
|
117 |
+
}
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"cell_type": "code",
|
121 |
+
"source": [
|
122 |
+
"# 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",
|
123 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
124 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
125 |
+
"\n",
|
126 |
+
"# Japanese Doll Likeness\n",
|
127 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/japaneseDollLikeness_v10.safetensors https://huggingface.co/nolanaatama/jdllora/resolve/main/jdllora.safetensors\n",
|
128 |
+
"\n",
|
129 |
+
"# Korean Doll Likeness\n",
|
130 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/koreanDollLikeness_v15.safetensors https://huggingface.co/nolanaatama/kdllora/resolve/main/kdllorav15.safetensors\n",
|
131 |
+
"\n",
|
132 |
+
"# Taiwan Doll Likeness\n",
|
133 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/taiwanDollLikeness_v10.safetensors https://huggingface.co/nolanaatama/tdllora/resolve/main/tdllora.safetensors\n",
|
134 |
+
"\n",
|
135 |
+
"# ...\n",
|
136 |
+
"\n",
|
137 |
+
"\n",
|
138 |
+
"# Web UI tunnel\n",
|
139 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
140 |
+
"# Use this command below to use cloudflare tunnel\n",
|
141 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
142 |
+
],
|
143 |
+
"metadata": {
|
144 |
+
"id": "3EOPSiOgUs4z"
|
145 |
+
},
|
146 |
+
"execution_count": null,
|
147 |
+
"outputs": []
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"cell_type": "markdown",
|
151 |
+
"metadata": {
|
152 |
+
"id": "fhwIXzcgfkoR"
|
153 |
+
},
|
154 |
+
"source": [
|
155 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
156 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
157 |
+
]
|
158 |
+
}
|
159 |
+
],
|
160 |
+
"metadata": {
|
161 |
+
"accelerator": "GPU",
|
162 |
+
"colab": {
|
163 |
+
"provenance": []
|
164 |
+
},
|
165 |
+
"gpuClass": "standard",
|
166 |
+
"kernelspec": {
|
167 |
+
"display_name": "Python 3",
|
168 |
+
"name": "python3"
|
169 |
+
},
|
170 |
+
"language_info": {
|
171 |
+
"name": "python"
|
172 |
+
}
|
173 |
+
},
|
174 |
+
"nbformat": 4,
|
175 |
+
"nbformat_minor": 0
|
176 |
+
}
|
breakdomain.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/breakdomain.safetensors https://huggingface.co/nolanaatama/brkdmn/resolve/main/brkdmn.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/breakdomain.vae.pt https://huggingface.co/nolanaatama/brkdmn/resolve/main/brkdmn.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
breakdomainanime.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/breakdomainanime.safetensors https://huggingface.co/nolanaatama/brkdmnnm/resolve/main/brkdmnnm.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/breakdomainanime.vae.pt https://huggingface.co/nolanaatama/brkdmnnm/resolve/main/brkdmnnm.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
camelliamix25dv2.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/camelliamix25dv2.safetensors https://huggingface.co/nolanaatama/cmllmx25dv2/resolve/main/cmllmx25dv2.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/camelliamix25dv2.vae.pt https://huggingface.co/nolanaatama/cmllmx25dv2/resolve/main/cmllmx25dv2.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
cartoonish.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/cartoonish.safetensors https://huggingface.co/nolanaatama/crtnsh/resolve/main/crtnsh.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/cartoonish.vae.pt https://huggingface.co/nolanaatama/crtnsh/resolve/main/crtnsh.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
cetusmix.ipynb
ADDED
@@ -0,0 +1,182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/cetusmix.safetensors https://huggingface.co/nolanaatama/ctsmx/resolve/main/ctsmx.safetensors\n",
|
58 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/cetusmix.vae.pt https://huggingface.co/nolanaatama/ctsmx/resolve/main/ctsmx.vae.pt\n",
|
59 |
+
"\n",
|
60 |
+
"# ControlNet\n",
|
61 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!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",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
83 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
84 |
+
"!rm microsoftexcel.zip\n",
|
85 |
+
"%cd /content/microsoftexcel\n",
|
86 |
+
"\n",
|
87 |
+
"# Web UI tunnel\n",
|
88 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
89 |
+
"# Use this command below to use cloudflare tunnel\n",
|
90 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
91 |
+
]
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"cell_type": "markdown",
|
95 |
+
"source": [
|
96 |
+
"## (OPTIONAL) LoRAs"
|
97 |
+
],
|
98 |
+
"metadata": {
|
99 |
+
"id": "0DwYF_aLUXKy"
|
100 |
+
}
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"cell_type": "markdown",
|
104 |
+
"source": [
|
105 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
106 |
+
],
|
107 |
+
"metadata": {
|
108 |
+
"id": "JUtPlg328avv"
|
109 |
+
}
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"cell_type": "markdown",
|
113 |
+
"source": [
|
114 |
+
"### 2. Load the LoRA & launch the web ui"
|
115 |
+
],
|
116 |
+
"metadata": {
|
117 |
+
"id": "xy_WyDzNUgd2"
|
118 |
+
}
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"cell_type": "code",
|
122 |
+
"source": [
|
123 |
+
"# 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",
|
124 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
125 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
126 |
+
"\n",
|
127 |
+
"# Detail Tweaker\n",
|
128 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
129 |
+
"\n",
|
130 |
+
"# Add More Details\n",
|
131 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Additional LoRA 1\n",
|
134 |
+
"#!curl ...\n",
|
135 |
+
"\n",
|
136 |
+
"# Additional LoRA 2\n",
|
137 |
+
"#!curl ...\n",
|
138 |
+
"\n",
|
139 |
+
"# Additional LoRA 3\n",
|
140 |
+
"#!curl ...\n",
|
141 |
+
"\n",
|
142 |
+
"# ...\n",
|
143 |
+
"\n",
|
144 |
+
"# Web UI tunnel\n",
|
145 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
146 |
+
"# Use this command below to use cloudflare tunnel\n",
|
147 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
148 |
+
],
|
149 |
+
"metadata": {
|
150 |
+
"id": "3EOPSiOgUs4z"
|
151 |
+
},
|
152 |
+
"execution_count": null,
|
153 |
+
"outputs": []
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"cell_type": "markdown",
|
157 |
+
"metadata": {
|
158 |
+
"id": "fhwIXzcgfkoR"
|
159 |
+
},
|
160 |
+
"source": [
|
161 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
162 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
163 |
+
]
|
164 |
+
}
|
165 |
+
],
|
166 |
+
"metadata": {
|
167 |
+
"accelerator": "GPU",
|
168 |
+
"colab": {
|
169 |
+
"provenance": []
|
170 |
+
},
|
171 |
+
"gpuClass": "standard",
|
172 |
+
"kernelspec": {
|
173 |
+
"display_name": "Python 3",
|
174 |
+
"name": "python3"
|
175 |
+
},
|
176 |
+
"language_info": {
|
177 |
+
"name": "python"
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"nbformat": 4,
|
181 |
+
"nbformat_minor": 0
|
182 |
+
}
|
chikmix.ipynb
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/chikmix.safetensors https://huggingface.co/nolanaatama/chkmx/resolve/main/chkmx.safetensors\n",
|
58 |
+
"\n",
|
59 |
+
"# ControlNet\n",
|
60 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
61 |
+
"#!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",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
83 |
+
"!rm microsoftexcel.zip\n",
|
84 |
+
"%cd /content/microsoftexcel\n",
|
85 |
+
"\n",
|
86 |
+
"# Web UI tunnel\n",
|
87 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
88 |
+
"# Use this command below to use cloudflare tunnel\n",
|
89 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
90 |
+
]
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"cell_type": "markdown",
|
94 |
+
"source": [
|
95 |
+
"## (OPTIONAL) LoRAs"
|
96 |
+
],
|
97 |
+
"metadata": {
|
98 |
+
"id": "0DwYF_aLUXKy"
|
99 |
+
}
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "markdown",
|
103 |
+
"source": [
|
104 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
105 |
+
],
|
106 |
+
"metadata": {
|
107 |
+
"id": "JUtPlg328avv"
|
108 |
+
}
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"cell_type": "markdown",
|
112 |
+
"source": [
|
113 |
+
"### 2. Load the LoRA & launch the web ui"
|
114 |
+
],
|
115 |
+
"metadata": {
|
116 |
+
"id": "xy_WyDzNUgd2"
|
117 |
+
}
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"cell_type": "code",
|
121 |
+
"source": [
|
122 |
+
"# 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",
|
123 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
124 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
125 |
+
"\n",
|
126 |
+
"# Detail Tweaker\n",
|
127 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/detailtweaker.safetensors https://huggingface.co/nolanaatama/dtltwkr/resolve/main/dtltwkr.safetensors\n",
|
128 |
+
"\n",
|
129 |
+
"# Add More Details\n",
|
130 |
+
"#!curl -Lo /content/microsoftexcel/models/Lora/addmoredetails.safetensors https://huggingface.co/nolanaatama/ddmrdtls/resolve/main/ddmrdtls.safetensors\n",
|
131 |
+
"\n",
|
132 |
+
"# Additional LoRA 1\n",
|
133 |
+
"#!curl ...\n",
|
134 |
+
"\n",
|
135 |
+
"# Additional LoRA 2\n",
|
136 |
+
"#!curl ...\n",
|
137 |
+
"\n",
|
138 |
+
"# Additional LoRA 3\n",
|
139 |
+
"#!curl ...\n",
|
140 |
+
"\n",
|
141 |
+
"# ...\n",
|
142 |
+
"\n",
|
143 |
+
"# Web UI tunnel\n",
|
144 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
145 |
+
"# Use this command below to use cloudflare tunnel\n",
|
146 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
147 |
+
],
|
148 |
+
"metadata": {
|
149 |
+
"id": "3EOPSiOgUs4z"
|
150 |
+
},
|
151 |
+
"execution_count": null,
|
152 |
+
"outputs": []
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"cell_type": "markdown",
|
156 |
+
"metadata": {
|
157 |
+
"id": "fhwIXzcgfkoR"
|
158 |
+
},
|
159 |
+
"source": [
|
160 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
161 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
162 |
+
]
|
163 |
+
}
|
164 |
+
],
|
165 |
+
"metadata": {
|
166 |
+
"accelerator": "GPU",
|
167 |
+
"colab": {
|
168 |
+
"provenance": []
|
169 |
+
},
|
170 |
+
"gpuClass": "standard",
|
171 |
+
"kernelspec": {
|
172 |
+
"display_name": "Python 3",
|
173 |
+
"name": "python3"
|
174 |
+
},
|
175 |
+
"language_info": {
|
176 |
+
"name": "python"
|
177 |
+
}
|
178 |
+
},
|
179 |
+
"nbformat": 4,
|
180 |
+
"nbformat_minor": 0
|
181 |
+
}
|
chilled_re-generic.ipynb
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt -y update -qq\n",
|
14 |
+
"%env LD_PRELOAD=/content/libtcmalloc_minimal.so.4\n",
|
15 |
+
"\n",
|
16 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel151.zip\n",
|
17 |
+
"!unzip /content/microsoftexcel.zip\n",
|
18 |
+
"\n",
|
19 |
+
"# Extensions Section\n",
|
20 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
21 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
22 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-3d-open-pose-editor /content/microsoftexcel/extensions/microsoftexcel-3d-open-pose-editor\n",
|
24 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
25 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
26 |
+
"# Additional Extensions\n",
|
27 |
+
"# !After Detailer\n",
|
28 |
+
"#!git clone https://github.com/Bing-su/adetailer /content/microsoftexcel/extensions/adetailer\n",
|
29 |
+
"#!git clone https://huggingface.co/Bingsu/adetailer /content/microsoftexcel/models/adetailer\n",
|
30 |
+
"# Deforum\n",
|
31 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-deforum /content/microsoftexcel/extensions/microsoftexcel-deforum\n",
|
32 |
+
"# Mov2mov\n",
|
33 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-mov2mov /content/microsoftexcel/extensions/microsoftexcel-mov2mov\n",
|
34 |
+
"# roop\n",
|
35 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-roop /content/microsoftexcel/extensions/microsoftexcel-roop\n",
|
36 |
+
"# SuperMerger\n",
|
37 |
+
"#!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
38 |
+
"# TemporalKit\n",
|
39 |
+
"#!git clone https://github.com/CiaraStrawberry/TemporalKit /content/microsoftexcel/extensions/TemporalKit\n",
|
40 |
+
"# Ultimate SD Upscale\n",
|
41 |
+
"#!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
42 |
+
"\n",
|
43 |
+
"!mkdir /content/microsoftexcel/models/ESRGAN\n",
|
44 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
45 |
+
"!curl -Lo /content/microsoftexcel/embeddings/embeddings.zip https://huggingface.co/nolanaatama/colab/resolve/main/embeddings.zip\n",
|
46 |
+
"!curl -Lo /content/microsoftexcel/models/ESRGAN/upscalers.zip https://huggingface.co/nolanaatama/colab/resolve/main/upscalers.zip\n",
|
47 |
+
"%cd /content/microsoftexcel/extensions\n",
|
48 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
49 |
+
"%cd /content/microsoftexcel/embeddings\n",
|
50 |
+
"!unzip /content/microsoftexcel/embeddings/embeddings.zip\n",
|
51 |
+
"%cd /content/microsoftexcel/models/ESRGAN\n",
|
52 |
+
"!unzip /content/microsoftexcel/models/ESRGAN/upscalers.zip\n",
|
53 |
+
"!rm upscalers.zip\n",
|
54 |
+
"%cd /content\n",
|
55 |
+
"\n",
|
56 |
+
"# Model Code\n",
|
57 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/chilled_re-generic.safetensors https://huggingface.co/nolanaatama/chlldrgnrc/resolve/main/chilled_re-generic.safetensors\n",
|
58 |
+
"\n",
|
59 |
+
"# ControlNet\n",
|
60 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
61 |
+
"#!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",
|
62 |
+
"#!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",
|
63 |
+
"#!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",
|
64 |
+
"#!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",
|
65 |
+
"#!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",
|
66 |
+
"#!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",
|
67 |
+
"#!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",
|
68 |
+
"#!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",
|
69 |
+
"#!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",
|
70 |
+
"#!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",
|
71 |
+
"#!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",
|
72 |
+
"#!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",
|
73 |
+
"#!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",
|
74 |
+
"#!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",
|
75 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
76 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
77 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
78 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
79 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
80 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
81 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
82 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
83 |
+
"!rm microsoftexcel.zip\n",
|
84 |
+
"%cd /content/microsoftexcel\n",
|
85 |
+
"\n",
|
86 |
+
"# Web UI tunnel\n",
|
87 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
88 |
+
"# Use this command below to use cloudflare tunnel\n",
|
89 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
90 |
+
]
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"cell_type": "markdown",
|
94 |
+
"source": [
|
95 |
+
"## (OPTIONAL) LoRAs"
|
96 |
+
],
|
97 |
+
"metadata": {
|
98 |
+
"id": "0DwYF_aLUXKy"
|
99 |
+
}
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"cell_type": "markdown",
|
103 |
+
"source": [
|
104 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
105 |
+
],
|
106 |
+
"metadata": {
|
107 |
+
"id": "JUtPlg328avv"
|
108 |
+
}
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"cell_type": "markdown",
|
112 |
+
"source": [
|
113 |
+
"### 2. Load the LoRA & launch the web ui"
|
114 |
+
],
|
115 |
+
"metadata": {
|
116 |
+
"id": "xy_WyDzNUgd2"
|
117 |
+
}
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"cell_type": "code",
|
121 |
+
"source": [
|
122 |
+
"# 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",
|
123 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
124 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
125 |
+
"\n",
|
126 |
+
"# Japanese Doll Likeness\n",
|
127 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/japaneseDollLikeness_v10.safetensors https://huggingface.co/nolanaatama/jdllora/resolve/main/jdllora.safetensors\n",
|
128 |
+
"\n",
|
129 |
+
"# Korean Doll Likeness\n",
|
130 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/koreanDollLikeness_v15.safetensors https://huggingface.co/nolanaatama/kdllora/resolve/main/kdllorav15.safetensors\n",
|
131 |
+
"\n",
|
132 |
+
"# Taiwan Doll Likeness\n",
|
133 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/taiwanDollLikeness_v10.safetensors https://huggingface.co/nolanaatama/tdllora/resolve/main/tdllora.safetensors\n",
|
134 |
+
"\n",
|
135 |
+
"# ...\n",
|
136 |
+
"\n",
|
137 |
+
"\n",
|
138 |
+
"# Web UI tunnel\n",
|
139 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
140 |
+
"# Use this command below to use cloudflare tunnel\n",
|
141 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
142 |
+
],
|
143 |
+
"metadata": {
|
144 |
+
"id": "3EOPSiOgUs4z"
|
145 |
+
},
|
146 |
+
"execution_count": null,
|
147 |
+
"outputs": []
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"cell_type": "markdown",
|
151 |
+
"metadata": {
|
152 |
+
"id": "fhwIXzcgfkoR"
|
153 |
+
},
|
154 |
+
"source": [
|
155 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
156 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
157 |
+
]
|
158 |
+
}
|
159 |
+
],
|
160 |
+
"metadata": {
|
161 |
+
"accelerator": "GPU",
|
162 |
+
"colab": {
|
163 |
+
"provenance": []
|
164 |
+
},
|
165 |
+
"gpuClass": "standard",
|
166 |
+
"kernelspec": {
|
167 |
+
"display_name": "Python 3",
|
168 |
+
"name": "python3"
|
169 |
+
},
|
170 |
+
"language_info": {
|
171 |
+
"name": "python"
|
172 |
+
}
|
173 |
+
},
|
174 |
+
"nbformat": 4,
|
175 |
+
"nbformat_minor": 0
|
176 |
+
}
|
chilled_re_generic.ipynb
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cells": [
|
3 |
+
{
|
4 |
+
"cell_type": "code",
|
5 |
+
"execution_count": null,
|
6 |
+
"metadata": {
|
7 |
+
"id": "sBbcB4vwj_jm"
|
8 |
+
},
|
9 |
+
"outputs": [],
|
10 |
+
"source": [
|
11 |
+
"!curl -Lo memfix.zip https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip\n",
|
12 |
+
"!unzip /content/memfix.zip\n",
|
13 |
+
"!apt install -qq libunwind8-dev\n",
|
14 |
+
"!apt install -qq libcairo2-dev pkg-config python3-dev\n",
|
15 |
+
"!dpkg -i *.deb\n",
|
16 |
+
"%env LD_PRELOAD=libtcmalloc.so\n",
|
17 |
+
"!rm *\n",
|
18 |
+
"!pip install torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url https://download.pytorch.org/whl/cu118 -U\n",
|
19 |
+
"!pip install xformers==0.0.19 triton==2.0.0 -U\n",
|
20 |
+
"!curl -Lo microsoftexcel.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel.zip\n",
|
21 |
+
"!unzip /content/microsoftexcel.zip\n",
|
22 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-tunnels /content/microsoftexcel/extensions/microsoftexcel-tunnels\n",
|
23 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-controlnet /content/microsoftexcel/extensions/microsoftexcel-controlnet\n",
|
24 |
+
"!git clone https://github.com/fkunn1326/openpose-editor /content/microsoftexcel/extensions/openpose-editor\n",
|
25 |
+
"!git clone https://github.com/hnmr293/posex /content/microsoftexcel/extensions/posex\n",
|
26 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-tagcomplete /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
27 |
+
"!git clone https://github.com/nolanaatama/microsoftexcel-supermerger /content/microsoftexcel/extensions/microsoftexcel-supermerger\n",
|
28 |
+
"!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 /content/microsoftexcel/extensions/ultimate-upscale-for-automatic1111\n",
|
29 |
+
"!git clone https://github.com/nolanaatama/a1111-microsoftexcel-locon /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
30 |
+
"!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip\n",
|
31 |
+
"%cd /content/microsoftexcel/extensions\n",
|
32 |
+
"!unzip /content/microsoftexcel/extensions/microsoftexcel-images-browser.zip\n",
|
33 |
+
"%cd /content\n",
|
34 |
+
"# Model Code\n",
|
35 |
+
"!curl -Lo /content/microsoftexcel/models/Stable-diffusion/chilled_re-generic.safetensors https://huggingface.co/nolanaatama/chlldrgnrc/resolve/main/chilled_re-generic.safetensors\n",
|
36 |
+
"# ControlNet\n",
|
37 |
+
"# Remove '#' from the beginning of the line(s) below to download the selected ControlNet model(s)\n",
|
38 |
+
"#!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",
|
39 |
+
"#!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",
|
40 |
+
"#!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",
|
41 |
+
"#!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",
|
42 |
+
"#!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",
|
43 |
+
"#!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",
|
44 |
+
"#!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",
|
45 |
+
"#!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",
|
46 |
+
"#!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",
|
47 |
+
"#!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",
|
48 |
+
"#!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",
|
49 |
+
"#!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",
|
50 |
+
"#!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",
|
51 |
+
"#!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",
|
52 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
53 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_color_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_color_sd14v1.pth\n",
|
54 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_depth_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_depth_sd14v1.pth\n",
|
55 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_keypose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_keypose_sd14v1.pth\n",
|
56 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_openpose_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_openpose_sd14v1.pth\n",
|
57 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_seg_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_seg_sd14v1.pth\n",
|
58 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_sketch_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_sketch_sd14v1.pth\n",
|
59 |
+
"#!curl -Lo /content/microsoftexcel/extensions/microsoftexcel-controlnet/models/t2iadapter_style_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_style_sd14v1.pth\n",
|
60 |
+
"import shutil\n",
|
61 |
+
"shutil.rmtree('/content/microsoftexcel/embeddings')\n",
|
62 |
+
"!rm microsoftexcel.zip\n",
|
63 |
+
"!rm microsoftexcel-images-browser.zip\n",
|
64 |
+
"%cd /content/microsoftexcel\n",
|
65 |
+
"!git clone https://huggingface.co/nolanaatama/embeddings\n",
|
66 |
+
"%cd /content/microsoftexcel/models\n",
|
67 |
+
"!git clone https://huggingface.co/nolanaatama/ESRGAN\n",
|
68 |
+
"%cd /content/microsoftexcel/extensions/a1111-microsoftexcel-locon\n",
|
69 |
+
"!git checkout 04b768b\n",
|
70 |
+
"%cd /content/microsoftexcel/extensions/a1111-microsoftexcel-tagcomplete\n",
|
71 |
+
"!git checkout f9f7732\n",
|
72 |
+
"%cd /content/microsoftexcel\n",
|
73 |
+
"# Web UI tunnel\n",
|
74 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
75 |
+
"# Use this command below to use cloudflare tunnel\n",
|
76 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
77 |
+
]
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"cell_type": "markdown",
|
81 |
+
"source": [
|
82 |
+
"## (OPTIONAL) LoRAs"
|
83 |
+
],
|
84 |
+
"metadata": {
|
85 |
+
"id": "0DwYF_aLUXKy"
|
86 |
+
}
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"cell_type": "markdown",
|
90 |
+
"source": [
|
91 |
+
"### 1. After the gradio link show up, stop the first cell & clear the code output👆"
|
92 |
+
],
|
93 |
+
"metadata": {
|
94 |
+
"id": "JUtPlg328avv"
|
95 |
+
}
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"cell_type": "markdown",
|
99 |
+
"source": [
|
100 |
+
"### 2. Load the LoRA & launch the web ui"
|
101 |
+
],
|
102 |
+
"metadata": {
|
103 |
+
"id": "xy_WyDzNUgd2"
|
104 |
+
}
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"cell_type": "code",
|
108 |
+
"source": [
|
109 |
+
"# 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",
|
110 |
+
"# How-to download the setup file: Click 'File' menu -> 'Download' -> 'Download .ipynb'\n",
|
111 |
+
"# Load LoRA from Google Drive: https://youtu.be/G1QZfAPUMaM\n",
|
112 |
+
"\n",
|
113 |
+
"# Japanese Doll Likeness\n",
|
114 |
+
"# v1.0\n",
|
115 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/japaneseDollLikeness_v10.safetensors https://huggingface.co/nolanaatama/jdllora/resolve/main/jdllora.safetensors\n",
|
116 |
+
"# v1.5\n",
|
117 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/japaneseDollLikeness_v15.safetensors https://huggingface.co/nolanaatama/jdllora/resolve/main/jdllorav15.safetensors\n",
|
118 |
+
"\n",
|
119 |
+
"# Korean Doll Likeness\n",
|
120 |
+
"# v1.0\n",
|
121 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/koreanDollLikeness_v10.safetensors https://huggingface.co/nolanaatama/kdllora/resolve/main/kdllorav10.safetensors\n",
|
122 |
+
"# v1.5\n",
|
123 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/koreanDollLikeness_v15.safetensors https://huggingface.co/nolanaatama/kdllora/resolve/main/kdllorav15.safetensors\n",
|
124 |
+
"# v2.0\n",
|
125 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/koreanDollLikeness_v20.safetensors https://huggingface.co/nolanaatama/kdllora/resolve/main/kdllorav20.safetensors\n",
|
126 |
+
"\n",
|
127 |
+
"# Taiwan Doll Likeness\n",
|
128 |
+
"# v1.0\n",
|
129 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/taiwanDollLikeness_v10.safetensors https://huggingface.co/nolanaatama/tdllora/resolve/main/tdllora.safetensors\n",
|
130 |
+
"# v2.0\n",
|
131 |
+
"!curl -Lo /content/microsoftexcel/models/Lora/taiwanDollLikeness_v20.safetensors https://huggingface.co/nolanaatama/tdllora/resolve/main/tdllorav2.safetensors\n",
|
132 |
+
"\n",
|
133 |
+
"# Web UI tunnel\n",
|
134 |
+
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
135 |
+
"# Use this command below to use cloudflare tunnel\n",
|
136 |
+
"#!COMMANDLINE_ARGS=\"--disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --cloudflared\" REQS_FILE=\"requirements.txt\" python launch.py"
|
137 |
+
],
|
138 |
+
"metadata": {
|
139 |
+
"id": "3EOPSiOgUs4z"
|
140 |
+
},
|
141 |
+
"execution_count": null,
|
142 |
+
"outputs": []
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"cell_type": "markdown",
|
146 |
+
"metadata": {
|
147 |
+
"id": "fhwIXzcgfkoR"
|
148 |
+
},
|
149 |
+
"source": [
|
150 |
+
"# 📚 GitHub for more: [_@nolanaatama_](https://github.com/nolanaatama)\n",
|
151 |
+
"# 📦 Repo: [Github](https://github.com/nolanaatama/sd-1click-colab)"
|
152 |
+
]
|
153 |
+
}
|
154 |
+
],
|
155 |
+
"metadata": {
|
156 |
+
"accelerator": "GPU",
|
157 |
+
"colab": {
|
158 |
+
"provenance": []
|
159 |
+
},
|
160 |
+
"gpuClass": "standard",
|
161 |
+
"kernelspec": {
|
162 |
+
"display_name": "Python 3",
|
163 |
+
"name": "python3"
|
164 |
+
},
|
165 |
+
"language_info": {
|
166 |
+
"name": "python"
|
167 |
+
}
|
168 |
+
},
|
169 |
+
"nbformat": 4,
|
170 |
+
"nbformat_minor": 0
|
171 |
+
}
|