Nekos4Lyfe
commited on
Commit
•
c441b58
1
Parent(s):
b006d22
Delete Neko_sd.ipynb
Browse files- Neko_sd.ipynb +0 -514
Neko_sd.ipynb
DELETED
@@ -1,514 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"cells": [
|
3 |
-
{
|
4 |
-
"cell_type": "code",
|
5 |
-
"source": [],
|
6 |
-
"metadata": {
|
7 |
-
"id": "syIfRAeFInDk"
|
8 |
-
},
|
9 |
-
"execution_count": 2,
|
10 |
-
"outputs": []
|
11 |
-
},
|
12 |
-
{
|
13 |
-
"cell_type": "code",
|
14 |
-
"source": [
|
15 |
-
"#Fetch the .zip file of the UI\n",
|
16 |
-
"#Note that extensions are attached within this .zip file\n",
|
17 |
-
"#A full list of extensions used can be found under sd/extensions/Extensions download URLs.txt\n",
|
18 |
-
"%cd /content\n",
|
19 |
-
"!curl -Lo sd.zip https://huggingface.co/Nekos4Lyfe/sd-kit/resolve/main/sd.zip\n",
|
20 |
-
"!unzip sd.zip \n",
|
21 |
-
"!rm sd.zip #remove .zip file"
|
22 |
-
],
|
23 |
-
"metadata": {
|
24 |
-
"id": "V1X7OSaLJuHa"
|
25 |
-
},
|
26 |
-
"execution_count": null,
|
27 |
-
"outputs": []
|
28 |
-
},
|
29 |
-
{
|
30 |
-
"cell_type": "code",
|
31 |
-
"source": [
|
32 |
-
"#Download some basic ControlNET models \n",
|
33 |
-
"!curl -Lo /content/sd/extensions/controlnet/models/control_v11p_sd15_canny.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_canny_fp16.safetensors\n",
|
34 |
-
"!curl -Lo /content/sd/extensions/controlnet/models/t2iadapter_canny_sd14v1.pth https://huggingface.co/nolanaatama/models/resolve/main/t2iadapter_canny_sd14v1.pth\n",
|
35 |
-
"!curl -Lo /content/sd/extensions/controlnet/models/control_v11p_sd15_lineart.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15_lineart_fp16.safetensors\n",
|
36 |
-
"!curl -Lo /content/sd/extensions/controlnet/models/control_v11p_sd15s2_lineart_anime.safetensors https://huggingface.co/nolanaatama/models/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors\n"
|
37 |
-
],
|
38 |
-
"metadata": {
|
39 |
-
"id": "3ab7ebbQIP-v",
|
40 |
-
"colab": {
|
41 |
-
"base_uri": "https://localhost:8080/"
|
42 |
-
},
|
43 |
-
"outputId": "34f28fb7-6e79-417f-8bd5-516a75c16978"
|
44 |
-
},
|
45 |
-
"execution_count": 3,
|
46 |
-
"outputs": [
|
47 |
-
{
|
48 |
-
"output_type": "stream",
|
49 |
-
"name": "stdout",
|
50 |
-
"text": [
|
51 |
-
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
|
52 |
-
" Dload Upload Total Spent Left Speed\n",
|
53 |
-
"100 1175 100 1175 0 0 8576 0 --:--:-- --:--:-- --:--:-- 8576\n",
|
54 |
-
"100 689M 100 689M 0 0 267M 0 0:00:02 0:00:02 --:--:-- 276M\n",
|
55 |
-
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
|
56 |
-
" Dload Upload Total Spent Left Speed\n",
|
57 |
-
"100 1147 100 1147 0 0 8311 0 --:--:-- --:--:-- --:--:-- 8311\n",
|
58 |
-
"100 293M 100 293M 0 0 250M 0 0:00:01 0:00:01 --:--:-- 281M\n",
|
59 |
-
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
|
60 |
-
" Dload Upload Total Spent Left Speed\n",
|
61 |
-
"100 1177 100 1177 0 0 11653 0 --:--:-- --:--:-- --:--:-- 11653\n",
|
62 |
-
"100 689M 100 689M 0 0 243M 0 0:00:02 0:00:02 --:--:-- 253M\n",
|
63 |
-
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
|
64 |
-
" Dload Upload Total Spent Left Speed\n",
|
65 |
-
"100 1193 100 1193 0 0 11930 0 --:--:-- --:--:-- --:--:-- 11930\n",
|
66 |
-
"100 689M 100 689M 0 0 246M 0 0:00:02 0:00:02 --:--:-- 243M\n"
|
67 |
-
]
|
68 |
-
}
|
69 |
-
]
|
70 |
-
},
|
71 |
-
{
|
72 |
-
"cell_type": "code",
|
73 |
-
"source": [
|
74 |
-
"from google.colab import drive\n",
|
75 |
-
"drive.mount('/content/drive')\n",
|
76 |
-
"\n",
|
77 |
-
"#Choose a model to store on Drive as backup. Here are some examples\n",
|
78 |
-
"#!curl -Lo /content/drive/MyDrive/models/mistoon.safetensors https://civitai.com/api/download/models/28861\n",
|
79 |
-
"#!curl -Lo /content/drive/MyDrive/models/ghostmix.safetensors https://civitai.com/api/download/models/64503\n",
|
80 |
-
"#!curl -Lo /content/drive/MyDrive/models/darkside.safetensors https://civitai.com/api/download/models/63193\n",
|
81 |
-
"#!curl -Lo /content/drive/MyDrive/models/lyriel.safetensors https://civitai.com/api/download/models/72396\n",
|
82 |
-
"#!curl -Lo /content/drive/MyDrive/models/beenyou.safetensors https://civitai.com/api/download/models/64889\n",
|
83 |
-
"#!curl -Lo /content/drive/MyDrive/models/analogmadness.safetensors https://civitai.com/api/download/models/56498\n",
|
84 |
-
"\n",
|
85 |
-
"#Store VAE on your drive for easy access in the future \n",
|
86 |
-
"#!curl -Lo /content/drive/MyDrive/VAE/mse840000.vae.pt https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt #<--Commonly used VAE For photoreal models\n",
|
87 |
-
"#!curl -Lo /content/drive/MyDrive/VAE/kl-f8-anime2.vae.pt https://civitai.com/api/download/models/28569 #<--Commonly used VAE For anime models\n",
|
88 |
-
"\n",
|
89 |
-
"#Add a preloaded model from your Google drive (recommended as civitai is slow/offline sometimes)\n",
|
90 |
-
"#import shutil\n",
|
91 |
-
"#shutil.copy(\"/content/drive/MyDrive/models/analogmadness.safetensors\", \n",
|
92 |
-
"# \"/content/sd/models/Stable-diffusion/analogmadness.safetensors\")\n",
|
93 |
-
"\n",
|
94 |
-
"#Add VAE to model\n",
|
95 |
-
"#shutil.copy(\"/content/drive/MyDrive/VAE/mse840000.vae.pt\", \n",
|
96 |
-
"# \"/content/sd/models/Stable-diffusion/analogmadness.vae.pt\")"
|
97 |
-
],
|
98 |
-
"metadata": {
|
99 |
-
"colab": {
|
100 |
-
"base_uri": "https://localhost:8080/"
|
101 |
-
},
|
102 |
-
"id": "pFkOt218iAKp",
|
103 |
-
"outputId": "ae13e74f-1822-48e1-9f5d-b03479f8ab41"
|
104 |
-
},
|
105 |
-
"execution_count": null,
|
106 |
-
"outputs": [
|
107 |
-
{
|
108 |
-
"output_type": "stream",
|
109 |
-
"name": "stdout",
|
110 |
-
"text": [
|
111 |
-
"Mounted at /content/drive\n"
|
112 |
-
]
|
113 |
-
}
|
114 |
-
]
|
115 |
-
},
|
116 |
-
{
|
117 |
-
"cell_type": "code",
|
118 |
-
"source": [
|
119 |
-
"#--------------Add a model from civitai:-------------------------------#\n",
|
120 |
-
"#Baked VAE (No external VAE required)\n",
|
121 |
-
"!curl -Lo /content/sd/models/Stable-diffusion/azovya-rpg.safetensors https://civitai.com/api/download/models/87886 #<---baked VAE\n",
|
122 |
-
"\n",
|
123 |
-
"#Photoreal models\n",
|
124 |
-
"#!curl -Lo /content/sd/models/Stable-diffusion/analogmadness.safetensors https://civitai.com/api/download/models/56498\n",
|
125 |
-
"\n",
|
126 |
-
"#Anime models\n",
|
127 |
-
"#!curl -Lo /content/sd/models/Stable-diffusion/mistoon.safetensors https://civitai.com/api/download/models/28861\n",
|
128 |
-
"#!curl -Lo /content/sd/models/Stable-diffusion/beenyou.safetensors https://civitai.com/api/download/models/85614\n",
|
129 |
-
"\n",
|
130 |
-
"#model from Google Drive\n",
|
131 |
-
"#import shutil\n",
|
132 |
-
"#shutil.copy(\"/content/drive/MyDrive/models/analogmadness.safetensors\", \n",
|
133 |
-
" # \"/content/sd/models/Stable-diffusion/analogmadness.safetensors\")\n",
|
134 |
-
"\n",
|
135 |
-
"#---------------Add VAE stored on drive to model:-----------------------#\n",
|
136 |
-
"\n",
|
137 |
-
"#Add VAE for anime models:\n",
|
138 |
-
"#import shutil\n",
|
139 |
-
"#shutil.copy(\"/content/drive/MyDrive/VAE/kl-f8-anime2.vae.pt\", \n",
|
140 |
-
"# \"/content/sd/models/Stable-diffusion/mistoon.vae.pt\")\n",
|
141 |
-
"\n",
|
142 |
-
"#Add VAE for photoreal models:\n",
|
143 |
-
"#import shutil\n",
|
144 |
-
"#shutil.copy(\"/content/drive/MyDrive/VAE/mse840000.vae.pt\", \n",
|
145 |
-
"# \"/content/sd/models/Stable-diffusion/analogmadness.vae.pt\")\n"
|
146 |
-
],
|
147 |
-
"metadata": {
|
148 |
-
"colab": {
|
149 |
-
"base_uri": "https://localhost:8080/"
|
150 |
-
},
|
151 |
-
"id": "TtUGrBEN7AsN",
|
152 |
-
"outputId": "93a07de6-fde1-4d51-ff8d-9d8229e92232"
|
153 |
-
},
|
154 |
-
"execution_count": 4,
|
155 |
-
"outputs": [
|
156 |
-
{
|
157 |
-
"output_type": "stream",
|
158 |
-
"name": "stdout",
|
159 |
-
"text": [
|
160 |
-
" % Total % Received % Xferd Average Speed Time Time Time Current\n",
|
161 |
-
" Dload Upload Total Spent Left Speed\n",
|
162 |
-
"100 528 0 528 0 0 877 0 --:--:-- --:--:-- --:--:-- 875\n",
|
163 |
-
"100 5409M 100 5409M 0 0 66.0M 0 0:01:21 0:01:21 --:--:-- 70.6M\n"
|
164 |
-
]
|
165 |
-
}
|
166 |
-
]
|
167 |
-
},
|
168 |
-
{
|
169 |
-
"cell_type": "code",
|
170 |
-
"source": [
|
171 |
-
"#Install dependencies\n",
|
172 |
-
"!pip install --upgrade fastapi==0.90.1\n",
|
173 |
-
"!pip install -q 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",
|
174 |
-
"!pip install -q xformers==0.0.18 triton==2.0.0 -U\n",
|
175 |
-
"\n",
|
176 |
-
"#run the webui once \n",
|
177 |
-
"#Three blue links will appear to the UI\n",
|
178 |
-
"#(This cell will run indefinetely until you press the square shaped \"Stop\" button <---)\n",
|
179 |
-
"#\n",
|
180 |
-
"%cd /content/sd\n",
|
181 |
-
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --remotemoe --disable-console-progressbars\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
182 |
-
"# If remotemoe failed to start, change '--remotemoe' to '--cloudflared' on the COMMANDLINE_ARGS line above to use cloudflare tunnel"
|
183 |
-
],
|
184 |
-
"metadata": {
|
185 |
-
"id": "XFottHPM31pS",
|
186 |
-
"colab": {
|
187 |
-
"base_uri": "https://localhost:8080/"
|
188 |
-
},
|
189 |
-
"outputId": "534b0feb-fb5a-4ef7-9cfb-0830647920ca"
|
190 |
-
},
|
191 |
-
"execution_count": 5,
|
192 |
-
"outputs": [
|
193 |
-
{
|
194 |
-
"output_type": "stream",
|
195 |
-
"name": "stdout",
|
196 |
-
"text": [
|
197 |
-
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
198 |
-
"Collecting fastapi==0.90.1\n",
|
199 |
-
" Downloading fastapi-0.90.1-py3-none-any.whl (56 kB)\n",
|
200 |
-
"\u001b[2K \u001b[90m━━━━━━━━━���━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.2/56.2 kB\u001b[0m \u001b[31m3.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
201 |
-
"\u001b[?25hRequirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /usr/local/lib/python3.10/dist-packages (from fastapi==0.90.1) (1.10.7)\n",
|
202 |
-
"Collecting starlette<0.24.0,>=0.22.0 (from fastapi==0.90.1)\n",
|
203 |
-
" Downloading starlette-0.23.1-py3-none-any.whl (64 kB)\n",
|
204 |
-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m64.5/64.5 kB\u001b[0m \u001b[31m8.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
205 |
-
"\u001b[?25hRequirement already satisfied: typing-extensions>=4.2.0 in /usr/local/lib/python3.10/dist-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi==0.90.1) (4.5.0)\n",
|
206 |
-
"Requirement already satisfied: anyio<5,>=3.4.0 in /usr/local/lib/python3.10/dist-packages (from starlette<0.24.0,>=0.22.0->fastapi==0.90.1) (3.6.2)\n",
|
207 |
-
"Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.10/dist-packages (from anyio<5,>=3.4.0->starlette<0.24.0,>=0.22.0->fastapi==0.90.1) (3.4)\n",
|
208 |
-
"Requirement already satisfied: sniffio>=1.1 in /usr/local/lib/python3.10/dist-packages (from anyio<5,>=3.4.0->starlette<0.24.0,>=0.22.0->fastapi==0.90.1) (1.3.0)\n",
|
209 |
-
"Installing collected packages: starlette, fastapi\n",
|
210 |
-
"Successfully installed fastapi-0.90.1 starlette-0.23.1\n",
|
211 |
-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.3/2.3 GB\u001b[0m \u001b[31m573.6 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
212 |
-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.1/6.1 MB\u001b[0m \u001b[31m48.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
213 |
-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.4/4.4 MB\u001b[0m \u001b[31m101.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
214 |
-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.0/2.0 MB\u001b[0m \u001b[31m72.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
215 |
-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.6/4.6 MB\u001b[0m \u001b[31m90.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
216 |
-
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m123.8/123.8 MB\u001b[0m \u001b[31m8.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
217 |
-
"\u001b[?25h/content/sd\n",
|
218 |
-
"Python 3.10.11 (main, Apr 5 2023, 14:15:10) [GCC 9.4.0]\n",
|
219 |
-
"Version: <none>\n",
|
220 |
-
"Commit hash: <none>\n",
|
221 |
-
"Installing gfpgan\n",
|
222 |
-
"Installing clip\n",
|
223 |
-
"Installing open_clip\n",
|
224 |
-
"Cloning Stable Diffusion into /content/sd/repositories/stable-diffusion-stability-ai...\n",
|
225 |
-
"Cloning Taming Transformers into /content/sd/repositories/taming-transformers...\n",
|
226 |
-
"Cloning K-diffusion into /content/sd/repositories/k-diffusion...\n",
|
227 |
-
"Cloning CodeFormer into /content/sd/repositories/CodeFormer...\n",
|
228 |
-
"Cloning BLIP into /content/sd/repositories/BLIP...\n",
|
229 |
-
"Installing requirements for CodeFormer\n",
|
230 |
-
"Installing requirements\n",
|
231 |
-
"Installing sd-webui-controlnet requirement: mediapipe\n",
|
232 |
-
"Installing sd-webui-controlnet requirement: svglib\n",
|
233 |
-
"Installing sd-webui-controlnet requirement: fvcore\n",
|
234 |
-
"\n",
|
235 |
-
"Installing sd-dynamic-prompts requirements.txt\n",
|
236 |
-
"\n",
|
237 |
-
"Installing pycloudflared\n",
|
238 |
-
"\n",
|
239 |
-
"Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/\n",
|
240 |
-
"Collecting ultralytics>=8.0.97\n",
|
241 |
-
" Downloading ultralytics-8.0.112-py3-none-any.whl (593 kB)\n",
|
242 |
-
" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 593.1/593.1 kB 15.6 MB/s eta 0:00:00\n",
|
243 |
-
"Requirement already satisfied: matplotlib>=3.2.2 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (3.7.1)\n",
|
244 |
-
"Requirement already satisfied: opencv-python>=4.6.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (4.7.0.72)\n",
|
245 |
-
"Requirement already satisfied: Pillow>=7.1.2 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (9.5.0)\n",
|
246 |
-
"Requirement already satisfied: PyYAML>=5.3.1 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (6.0)\n",
|
247 |
-
"Requirement already satisfied: requests>=2.23.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (2.31.0)\n",
|
248 |
-
"Requirement already satisfied: scipy>=1.4.1 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (1.10.1)\n",
|
249 |
-
"Requirement already satisfied: torch>=1.7.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (2.0.0+cu118)\n",
|
250 |
-
"Requirement already satisfied: torchvision>=0.8.1 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (0.15.1+cu118)\n",
|
251 |
-
"Requirement already satisfied: tqdm>=4.64.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (4.65.0)\n",
|
252 |
-
"Requirement already satisfied: pandas>=1.1.4 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (1.5.3)\n",
|
253 |
-
"Requirement already satisfied: seaborn>=0.11.0 in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (0.12.2)\n",
|
254 |
-
"Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from ultralytics>=8.0.97) (5.9.5)\n",
|
255 |
-
"Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics>=8.0.97) (1.0.7)\n",
|
256 |
-
"Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics>=8.0.97) (0.11.0)\n",
|
257 |
-
"Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics>=8.0.97) (4.39.3)\n",
|
258 |
-
"Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics>=8.0.97) (1.4.4)\n",
|
259 |
-
"Requirement already satisfied: numpy>=1.20 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics>=8.0.97) (1.22.4)\n",
|
260 |
-
"Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics>=8.0.97) (23.1)\n",
|
261 |
-
"Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics>=8.0.97) (3.0.9)\n",
|
262 |
-
"Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=3.2.2->ultralytics>=8.0.97) (2.8.2)\n",
|
263 |
-
"Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=1.1.4->ultralytics>=8.0.97) (2022.7.1)\n",
|
264 |
-
"Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests>=2.23.0->ultralytics>=8.0.97) (2.0.12)\n",
|
265 |
-
"Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests>=2.23.0->ultralytics>=8.0.97) (3.4)\n",
|
266 |
-
"Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests>=2.23.0->ultralytics>=8.0.97) (1.26.15)\n",
|
267 |
-
"Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests>=2.23.0->ultralytics>=8.0.97) (2022.12.7)\n",
|
268 |
-
"Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics>=8.0.97) (3.12.0)\n",
|
269 |
-
"Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics>=8.0.97) (4.5.0)\n",
|
270 |
-
"Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics>=8.0.97) (1.11.1)\n",
|
271 |
-
"Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics>=8.0.97) (3.1)\n",
|
272 |
-
"Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics>=8.0.97) (3.1.2)\n",
|
273 |
-
"Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.7.0->ultralytics>=8.0.97) (2.0.0)\n",
|
274 |
-
"Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.7.0->ultralytics>=8.0.97) (3.25.2)\n",
|
275 |
-
"Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch>=1.7.0->ultralytics>=8.0.97) (16.0.5)\n",
|
276 |
-
"Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.7->matplotlib>=3.2.2->ultralytics>=8.0.97) (1.16.0)\n",
|
277 |
-
"Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch>=1.7.0->ultralytics>=8.0.97) (2.1.2)\n",
|
278 |
-
"Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.7.0->ultralytics>=8.0.97) (1.3.0)\n",
|
279 |
-
"Installing collected packages: ultralytics\n",
|
280 |
-
"Successfully installed ultralytics-8.0.112\n",
|
281 |
-
"\n",
|
282 |
-
"Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --remotemoe --disable-console-progressbars\n",
|
283 |
-
"2023-06-04 06:48:25.864669: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n",
|
284 |
-
"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n",
|
285 |
-
"2023-06-04 06:48:27.125796: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n",
|
286 |
-
"Downloading face_yolov8n.pt: 100% 6.21M/6.21M [00:00<00:00, 51.8MB/s]\n",
|
287 |
-
"Downloading face_yolov8s.pt: 100% 22.5M/22.5M [00:00<00:00, 59.5MB/s]\n",
|
288 |
-
"Downloading hand_yolov8n.pt: 100% 6.22M/6.22M [00:00<00:00, 76.3MB/s]\n",
|
289 |
-
"Downloading person_yolov8n-seg.pt: 100% 6.75M/6.75M [00:00<00:00, 80.1MB/s]\n",
|
290 |
-
"Downloading person_yolov8s-seg.pt: 100% 23.8M/23.8M [00:00<00:00, 48.9MB/s]\n",
|
291 |
-
"\u001b[1m[\u001b[0m-\u001b[1m]\u001b[0m ADetailer initialized. version: \u001b[1;36m23.5\u001b[0m.\u001b[1;36m11\u001b[0m, num models: \u001b[1;36m7\u001b[0m\n",
|
292 |
-
"Civitai Helper: Get Custom Model Folder\n",
|
293 |
-
"Civitai Helper: Load setting from: /content/sd/extensions/civitai-helper/setting.json\n",
|
294 |
-
"Civitai Helper: No setting file, use default\n",
|
295 |
-
"ControlNet v1.1.214\n",
|
296 |
-
"ControlNet v1.1.214\n",
|
297 |
-
"remote.moe detected, trying to connect...\n",
|
298 |
-
"Warning: Permanently added 'remote.moe,159.69.126.209' (ECDSA) to the list of known hosts.\n",
|
299 |
-
"Calculating sha256 for /content/sd/models/Stable-diffusion/azovya-rpg.safetensors: Create LRU cache (max_size=16) for preprocessor results.\n",
|
300 |
-
"Create LRU cache (max_size=16) for preprocessor results.\n",
|
301 |
-
"Running on local URL: http://127.0.0.1:7860\n",
|
302 |
-
"Running on public URL: https://849fe74fa723c92b45.gradio.live\n",
|
303 |
-
"Running on public URL (recommended): http://bwci3zom3tgzoyrpskqoygyfwt2vqw4xyjz7j3z2ne6odzmbyzqq.remote.moe\n",
|
304 |
-
"Create LRU cache (max_size=16) for preprocessor results.\n",
|
305 |
-
"Startup time: 21.5s (import torch: 5.7s, import gradio: 1.6s, import ldm: 1.9s, other imports: 2.2s, setup codeformer: 0.2s, load scripts: 6.8s, create ui: 1.0s, gradio launch: 2.1s).\n",
|
306 |
-
"Interrupted with signal 2 in <frame at 0x7f1a1f46da80, file '/content/sd/webui.py', line 260, code wait_on_server>\n"
|
307 |
-
]
|
308 |
-
}
|
309 |
-
]
|
310 |
-
},
|
311 |
-
{
|
312 |
-
"cell_type": "code",
|
313 |
-
"source": [],
|
314 |
-
"metadata": {
|
315 |
-
"id": "-ek72ZSDLYiZ"
|
316 |
-
},
|
317 |
-
"execution_count": null,
|
318 |
-
"outputs": []
|
319 |
-
},
|
320 |
-
{
|
321 |
-
"cell_type": "code",
|
322 |
-
"source": [],
|
323 |
-
"metadata": {
|
324 |
-
"id": "I7SW6SWpLkV-"
|
325 |
-
},
|
326 |
-
"execution_count": 9,
|
327 |
-
"outputs": []
|
328 |
-
},
|
329 |
-
{
|
330 |
-
"cell_type": "code",
|
331 |
-
"source": [],
|
332 |
-
"metadata": {
|
333 |
-
"id": "nmul1VTYLvTK"
|
334 |
-
},
|
335 |
-
"execution_count": 10,
|
336 |
-
"outputs": []
|
337 |
-
},
|
338 |
-
{
|
339 |
-
"cell_type": "code",
|
340 |
-
"source": [
|
341 |
-
"#Add some embeddings after running the UI\n",
|
342 |
-
"%cd /content\n",
|
343 |
-
"!curl -Lo embeddings.zip https://huggingface.co/Nekos4Lyfe/sd-kit/resolve/main/embeddings.zip \n",
|
344 |
-
"!unzip /content/embeddings.zip #Create new temporary embeddings folder with content\n",
|
345 |
-
"\n",
|
346 |
-
"!mv embeddings/* /content/sd/embeddings #Add content to UI embedding folder\n",
|
347 |
-
"import shutil\n",
|
348 |
-
"shutil.rmtree(\"embeddings\") #Remove temporary folder\n",
|
349 |
-
"!rm embeddings.zip #remove .zip file\n",
|
350 |
-
"\n",
|
351 |
-
"#How to use: \n",
|
352 |
-
"#write \"no_Sketch\" in the negative prompt to activate no_Sketch.pt\n",
|
353 |
-
"#write angry512 in the prompt to activate angry512.pt"
|
354 |
-
],
|
355 |
-
"metadata": {
|
356 |
-
"id": "P3MTYF8fmVDY"
|
357 |
-
},
|
358 |
-
"execution_count": null,
|
359 |
-
"outputs": []
|
360 |
-
},
|
361 |
-
{
|
362 |
-
"cell_type": "code",
|
363 |
-
"execution_count": null,
|
364 |
-
"metadata": {
|
365 |
-
"id": "b7FqKKN4tE3m"
|
366 |
-
},
|
367 |
-
"outputs": [],
|
368 |
-
"source": [
|
369 |
-
"#Add some LoRa:s after running the UI \n",
|
370 |
-
"#Here the LoRa trigger words are the same as the LoRa .safetensor names\n",
|
371 |
-
"!curl -Lo /content/sd/models/Lora/epinoise.safetensors https://civitai.com/api/download/models/16576\n",
|
372 |
-
"!curl -Lo /content/sd/models/Lora/dieselpunkai.safetensors https://civitai.com/api/download/models/27755\n",
|
373 |
-
"!curl -Lo /content/sd/models/Lora/hipoly.safetensors https://civitai.com/api/download/models/44566\n",
|
374 |
-
"!curl -Lo /content/sd/models/Lora/1990s\\(style\\).safetensors https://civitai.com/api/download/models/54221\n",
|
375 |
-
"!curl -Lo /content/sd/models/Lora/kids_illustration.safetensors https://civitai.com/api/download/models/67980\n",
|
376 |
-
"!curl -Lo /content/sd/models/Lora/\\(illumination\\).safetensors https://civitai.com/api/download/models/42981\n",
|
377 |
-
"!curl -Lo /content/sd/models/Lora/kusanagi_motoko.safetensors https://civitai.com/api/download/models/7692\n",
|
378 |
-
"!curl -Lo /content/sd/models/Lora/WH40K_ork.safetensors https://civitai.com/api/download/models/63475\n",
|
379 |
-
"!curl -Lo /content/sd/models/Lora/MSHN.safetensors https://civitai.com/api/download/models/62552\n",
|
380 |
-
"!curl -Lo /content/sd/models/Lora/blame.safetensors https://civitai.com/api/download/models/55412\n",
|
381 |
-
"!curl -Lo /content/sd/models/Lora/WH40K_Imperial_Guardsman.safetensors https://civitai.com/api/download/models/56778\n",
|
382 |
-
"!curl -Lo /content/sd/models/Lora/WH40K_Commissar.safetensors https://civitai.com/api/download/models/56414\n",
|
383 |
-
"!curl -Lo /content/sd/models/Lora/Squeezer1.safetensors https://civitai.com/api/download/models/54302\n",
|
384 |
-
"!curl -Lo /content/sd/models/Lora/Squeezer2.safetensors https://civitai.com/api/download/models/44493\n",
|
385 |
-
"!curl -Lo /content/sd/models/Lora/scared_expression.safetensors https://civitai.com/api/download/models/49924\n",
|
386 |
-
"!curl -Lo /content/sd/models/Lora/graphic_novel.safetensors https://civitai.com/api/download/models/39455\n",
|
387 |
-
"!curl -Lo /content/sd/models/Lora/>_<-@_@-=_=-X-X-._.-JITOME-:I.safetensors https://civitai.com/api/download/models/30666\n",
|
388 |
-
"!curl -Lo /content/sd/models/Lora/emotion.safetensors https://civitai.com/models/11998/emotion-puppeteer-lora\n",
|
389 |
-
"!curl -Lo /content/sd/models/Lora/adepta_sororitas.safetensors https://civitai.com/api/download/models/12730\n",
|
390 |
-
"!curl -Lo /content/sd/models/Lora/gmod.safetensors https://civitai.com/api/download/models/5988\n",
|
391 |
-
"!curl -Lo /content/sd/models/Lora/onoff.safetensors https://civitai.com/api/download/models/55073\n",
|
392 |
-
"!curl -Lo /content/sd/models/Lora/mrrpss.safetensors https://civitai.com/api/download/models/52660\n",
|
393 |
-
"!curl -Lo /content/sd/models/Lora/eaba.safetensors https://civitai.com/api/download/models/68626\n",
|
394 |
-
"\n",
|
395 |
-
"#How to use: \n",
|
396 |
-
"#write <lora:epinoise:1> epinoise in the prompt to activate the Lora epinoise.safetensors"
|
397 |
-
]
|
398 |
-
},
|
399 |
-
{
|
400 |
-
"cell_type": "code",
|
401 |
-
"source": [
|
402 |
-
"#Add some Wildcards after running the UI \n",
|
403 |
-
"#These are not my own but fetched from here: https://www.sdcompendium.com/doku.php?id=start\n",
|
404 |
-
"#(using the dynamic prompts extension baked into sd.zip)\n",
|
405 |
-
"%cd /content\n",
|
406 |
-
"!curl -Lo wildcards.zip https://huggingface.co/Nekos4Lyfe/sd-kit/resolve/main/wildcards.zip \n",
|
407 |
-
"!unzip /content/wildcards.zip #Create new temporary embeddings folder with content\n",
|
408 |
-
"\n",
|
409 |
-
"!mv wildcards/* /content/sd/extensions/sd-dynamic-prompts/wildcards #Add content to UI embedding folder\n",
|
410 |
-
"import shutil\n",
|
411 |
-
"shutil.rmtree(\"wildcards\") #Remove temporary folder\n",
|
412 |
-
"!rm wildcards.zip #remove .zip file\n"
|
413 |
-
],
|
414 |
-
"metadata": {
|
415 |
-
"id": "3hPt2WCNEy9f"
|
416 |
-
},
|
417 |
-
"execution_count": null,
|
418 |
-
"outputs": []
|
419 |
-
},
|
420 |
-
{
|
421 |
-
"cell_type": "code",
|
422 |
-
"source": [
|
423 |
-
"#Run the UI again with the LoRa and embeddings\n",
|
424 |
-
"#To access the LoRa and embeddings, click one of the buttons beneath the big \"Generate!\" button. \n",
|
425 |
-
"#It's the button beneath \"Generate!\" right in the middle with some orange on it. \n",
|
426 |
-
"#Scroll up to find the UI links\n",
|
427 |
-
"%cd /content/sd\n",
|
428 |
-
"!COMMANDLINE_ARGS=\"--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --remotemoe --disable-console-progressbars\" REQS_FILE=\"requirements.txt\" python launch.py\n",
|
429 |
-
"# If remotemoe failed to start, change '--remotemoe' to '--cloudflared' on the COMMANDLINE_ARGS line above to use cloudflare tunnel"
|
430 |
-
],
|
431 |
-
"metadata": {
|
432 |
-
"id": "2jdGVvT19hk2",
|
433 |
-
"colab": {
|
434 |
-
"base_uri": "https://localhost:8080/"
|
435 |
-
},
|
436 |
-
"outputId": "30884833-febd-46ca-d6ee-837b0c79cf1d"
|
437 |
-
},
|
438 |
-
"execution_count": null,
|
439 |
-
"outputs": [
|
440 |
-
{
|
441 |
-
"output_type": "stream",
|
442 |
-
"name": "stdout",
|
443 |
-
"text": [
|
444 |
-
"/content/sd\n",
|
445 |
-
"Python 3.10.11 (main, Apr 5 2023, 14:15:10) [GCC 9.4.0]\n",
|
446 |
-
"Version: <none>\n",
|
447 |
-
"Commit hash: <none>\n",
|
448 |
-
"Installing requirements\n",
|
449 |
-
"\n",
|
450 |
-
"Installing sd-dynamic-prompts requirements.txt\n",
|
451 |
-
"\n",
|
452 |
-
"\n",
|
453 |
-
"\n",
|
454 |
-
"Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue --remotemoe --disable-console-progressbars\n",
|
455 |
-
"2023-06-04 06:58:27.360027: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n",
|
456 |
-
"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n",
|
457 |
-
"2023-06-04 06:58:28.299727: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n",
|
458 |
-
"\u001b[1m[\u001b[0m-\u001b[1m]\u001b[0m ADetailer initialized. version: \u001b[1;36m23.5\u001b[0m.\u001b[1;36m11\u001b[0m, num models: \u001b[1;36m7\u001b[0m\n",
|
459 |
-
"Civitai Helper: Get Custom Model Folder\n",
|
460 |
-
"Civitai Helper: Load setting from: /content/sd/extensions/civitai-helper/setting.json\n",
|
461 |
-
"Civitai Helper: No setting file, use default\n",
|
462 |
-
"ControlNet v1.1.214\n",
|
463 |
-
"ControlNet v1.1.214\n",
|
464 |
-
"remote.moe detected, trying to connect...\n",
|
465 |
-
"Calculating sha256 for /content/sd/models/Stable-diffusion/azovya-rpg.safetensors: Create LRU cache (max_size=16) for preprocessor results.\n",
|
466 |
-
"Create LRU cache (max_size=16) for preprocessor results.\n",
|
467 |
-
"Running on local URL: http://127.0.0.1:7860\n",
|
468 |
-
"Running on public URL: https://126d87c4a9360c743a.gradio.live\n",
|
469 |
-
"Running on public URL (recommended): http://bwci3zom3tgzoyrpskqoygyfwt2vqw4xyjz7j3z2ne6odzmbyzqq.remote.moe\n",
|
470 |
-
"Create LRU cache (max_size=16) for preprocessor results.\n",
|
471 |
-
"Startup time: 16.1s (import torch: 3.7s, import gradio: 1.0s, import ldm: 0.9s, other imports: 1.1s, setup codeformer: 0.1s, load scripts: 6.6s, create ui: 1.4s, gradio launch: 1.4s).\n",
|
472 |
-
"c8094fea44b7fde13d6649cd22b8fcb6f794f95e8d4b2a3063402923824a871b\n",
|
473 |
-
"Loading weights [c8094fea44] from /content/sd/models/Stable-diffusion/azovya-rpg.safetensors\n"
|
474 |
-
]
|
475 |
-
}
|
476 |
-
]
|
477 |
-
},
|
478 |
-
{
|
479 |
-
"cell_type": "code",
|
480 |
-
"source": [
|
481 |
-
"#Use remote storage rather then Drive storage \n",
|
482 |
-
"#(note that you will lose all generated images at end of session)\n",
|
483 |
-
"#%cd /content\n",
|
484 |
-
"#!curl -Lo memfix.zip https://huggingface.co/Nekos4Lyfe/sd-kit/resolve/main/memfix.zip \n",
|
485 |
-
"#!unzip memfix.zip\n",
|
486 |
-
"#!apt install -qq libunwind8-dev\n",
|
487 |
-
"#!dpkg -i *.deb\n",
|
488 |
-
"#%env LD_PRELOAD=libtcmalloc.so\n",
|
489 |
-
"#!rm *"
|
490 |
-
],
|
491 |
-
"metadata": {
|
492 |
-
"id": "_2T1Tc0uq8bc"
|
493 |
-
},
|
494 |
-
"execution_count": null,
|
495 |
-
"outputs": []
|
496 |
-
}
|
497 |
-
],
|
498 |
-
"metadata": {
|
499 |
-
"colab": {
|
500 |
-
"provenance": [],
|
501 |
-
"gpuType": "T4"
|
502 |
-
},
|
503 |
-
"kernelspec": {
|
504 |
-
"display_name": "Python 3",
|
505 |
-
"name": "python3"
|
506 |
-
},
|
507 |
-
"language_info": {
|
508 |
-
"name": "python"
|
509 |
-
},
|
510 |
-
"accelerator": "GPU"
|
511 |
-
},
|
512 |
-
"nbformat": 4,
|
513 |
-
"nbformat_minor": 0
|
514 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|