Spaces:
Running
Running
stlaurentjr
commited on
Commit
•
a1f31ad
1
Parent(s):
5ece44a
Update notebooks/RNPD-A1111.ipynb
Browse files- notebooks/RNPD-A1111.ipynb +14 -14
notebooks/RNPD-A1111.ipynb
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
"id": "9e42bc1e-9825-4587-b533-c74607b1a377",
|
6 |
"metadata": {},
|
7 |
"source": [
|
8 |
-
"##
|
9 |
]
|
10 |
},
|
11 |
{
|
@@ -13,7 +13,7 @@
|
|
13 |
"id": "813d4d10-e6d1-42b1-ae37-ae41ad47e595",
|
14 |
"metadata": {},
|
15 |
"source": [
|
16 |
-
"#
|
17 |
]
|
18 |
},
|
19 |
{
|
@@ -65,7 +65,7 @@
|
|
65 |
"id": "ca3a26bb-8625-42b9-9e2f-e55939a536ef",
|
66 |
"metadata": {},
|
67 |
"source": [
|
68 |
-
"#
|
69 |
]
|
70 |
},
|
71 |
{
|
@@ -77,7 +77,7 @@
|
|
77 |
},
|
78 |
"outputs": [],
|
79 |
"source": [
|
80 |
-
"Original_Model_Version = \"
|
81 |
"\n",
|
82 |
"# Choices are \"SDXL\", \"v1.5\", \"v2-512\", \"v2-768\"\n",
|
83 |
"\n",
|
@@ -168,7 +168,7 @@
|
|
168 |
},
|
169 |
"outputs": [],
|
170 |
"source": [
|
171 |
-
"#
|
172 |
"\n",
|
173 |
"ControlNet_v1_Model = \"none\"\n",
|
174 |
"\n",
|
@@ -179,14 +179,14 @@
|
|
179 |
"# Choices are : none; all; 1: Canny; 2: Depth; 3: Sketch; 4: OpenPose; 5: Recolor\n",
|
180 |
"\n",
|
181 |
"#--------------------\n",
|
182 |
-
"CNet(ControlNet_v1_Model, ControlNet_XL_Model)\n",
|
183 |
-
"CNet(\"1\", ControlNet_XL_Model)\n",
|
184 |
-
"#
|
185 |
-
"#
|
186 |
-
"CNet(\"6\", ControlNet_XL_Model)\n",
|
187 |
-
"CNet(\"11\", ControlNet_XL_Model)\n",
|
188 |
-
"CNet(\"14\", ControlNet_XL_Model)\n",
|
189 |
-
"CNet(\"15\", ControlNet_XL_Model)\n"
|
190 |
]
|
191 |
},
|
192 |
{
|
@@ -196,7 +196,7 @@
|
|
196 |
"tags": []
|
197 |
},
|
198 |
"source": [
|
199 |
-
"#
|
200 |
]
|
201 |
},
|
202 |
{
|
|
|
5 |
"id": "9e42bc1e-9825-4587-b533-c74607b1a377",
|
6 |
"metadata": {},
|
7 |
"source": [
|
8 |
+
"## Курс по нейронным сетям. Раздел Stable Diffusion A1111 || Runpod Notebook"
|
9 |
]
|
10 |
},
|
11 |
{
|
|
|
13 |
"id": "813d4d10-e6d1-42b1-ae37-ae41ad47e595",
|
14 |
"metadata": {},
|
15 |
"source": [
|
16 |
+
"# Установка зависимостей"
|
17 |
]
|
18 |
},
|
19 |
{
|
|
|
65 |
"id": "ca3a26bb-8625-42b9-9e2f-e55939a536ef",
|
66 |
"metadata": {},
|
67 |
"source": [
|
68 |
+
"# Установка моделей"
|
69 |
]
|
70 |
},
|
71 |
{
|
|
|
77 |
},
|
78 |
"outputs": [],
|
79 |
"source": [
|
80 |
+
"Original_Model_Version = \"cyberrealistic_classicV20.safetensors\"\n",
|
81 |
"\n",
|
82 |
"# Choices are \"SDXL\", \"v1.5\", \"v2-512\", \"v2-768\"\n",
|
83 |
"\n",
|
|
|
168 |
},
|
169 |
"outputs": [],
|
170 |
"source": [
|
171 |
+
"# Загрузка/обнолвение ControlNet и моделей.\n",
|
172 |
"\n",
|
173 |
"ControlNet_v1_Model = \"none\"\n",
|
174 |
"\n",
|
|
|
179 |
"# Choices are : none; all; 1: Canny; 2: Depth; 3: Sketch; 4: OpenPose; 5: Recolor\n",
|
180 |
"\n",
|
181 |
"#--------------------\n",
|
182 |
+
"#CNet(ControlNet_v1_Model, ControlNet_XL_Model)\n",
|
183 |
+
"#CNet(\"1\", ControlNet_XL_Model)\n",
|
184 |
+
"#CNet(\"2\", ControlNet_XL_Model)\n",
|
185 |
+
"#CNet(\"3\", ControlNet_XL_Model)\n",
|
186 |
+
"#CNet(\"6\", ControlNet_XL_Model)\n",
|
187 |
+
"#CNet(\"11\", ControlNet_XL_Model)\n",
|
188 |
+
"#CNet(\"14\", ControlNet_XL_Model)\n",
|
189 |
+
"#CNet(\"15\", ControlNet_XL_Model)\n"
|
190 |
]
|
191 |
},
|
192 |
{
|
|
|
196 |
"tags": []
|
197 |
},
|
198 |
"source": [
|
199 |
+
"# Старт Stable-Diffusion"
|
200 |
]
|
201 |
},
|
202 |
{
|