sd阿里云函数部署脚本

sd阿里云函数部署脚本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
{
"cells": [
{
"cell_type": "markdown",
"id": "f06bea55-7889-4576-a83b-d3b207729e3d",
"metadata": {},
"source": [
"# Stable Diffusion WebUI"
]
},
{
"cell_type": "markdown",
"id": "9fab4ab6-be4b-4206-ba12-8dad73bac833",
"metadata": {},
"source": [
"阿里云 DSW 一键脚本v4 By [bilibili@秋葉aaaki](https://space.bilibili.com/12566101)\n",
"\n",
"#### 更新日志 \n",
"2023-5-2\n",
"\n",
"- 添加了插件,修改了插件安装方式\n",
"- 升级 torch 版本\n",
"- 更新了汉化\n",
"- 添加了部分插件(LoRA)\n",
"- 添加了下载文件用的代码\n",
"\n",
"2023-5-3\n",
"\n",
"- 疑似 torch2 会导致黑图,已取消"
]
},
{
"cell_type": "markdown",
"id": "39df08ff-45e4-4a86-add4-a5af9cc7f7d6",
"metadata": {},
"source": [
"## 安装 第一次需要执行"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "567fe4a3-a897-48b6-bde2-0afb3d064c80",
"metadata": {
"ExecutionIndicator": {
"show": true
},
"execution": {
"iopub.execute_input": "2024-09-02T01:33:06.296335Z",
"iopub.status.busy": "2024-09-02T01:33:06.296060Z",
"iopub.status.idle": "2024-09-02T01:33:41.840152Z",
"shell.execute_reply": "2024-09-02T01:33:41.839537Z",
"shell.execute_reply.started": "2024-09-02T01:33:06.296315Z"
},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Cloning into 'stable-diffusion-webui'...\n",
"warning: redirecting to https://gitcode.net/overbill1683/stable-diffusion-webui.git/\n",
"remote: Enumerating objects: 3755, done.\u001b[K\n",
"remote: Counting objects: 100% (3755/3755), done.\u001b[K\n",
"remote: Compressing objects: 100% (55/55), done.\u001b[K\n",
"remote: Total 34506 (delta 3724), reused 3723 (delta 3699), pack-reused 30751\u001b[K\n",
"Receiving objects: 100% (34506/34506), 31.90 MiB | 15.94 MiB/s, done.\n",
"Resolving deltas: 100% (24918/24918), done.\n",
"/mnt/workspace/stable-diffusion-webui\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/usr/local/lib/python3.11/site-packages/IPython/core/magics/osm.py:417: UserWarning: This is now an optional IPython functionality, setting dhist requires you to install the `pickleshare` library.\n",
" self.shell.db['dhist'] = compress_dhist(dhist)[-100:]\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"/mnt/workspace/stable-diffusion-webui/repositories\n",
"Cloning into 'stable-diffusion-stability-ai'...\n",
"warning: redirecting to https://gitcode.net/overbill1683/stablediffusion.git/\n",
"remote: Enumerating objects: 574, done.\u001b[K\n",
"remote: Counting objects: 100% (574/574), done.\u001b[K\n",
"remote: Compressing objects: 100% (287/287), done.\u001b[K\n",
"remote: Total 574 (delta 266), reused 574 (delta 266), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (574/574), 73.48 MiB | 32.50 MiB/s, done.\n",
"Resolving deltas: 100% (266/266), done.\n",
"Cloning into 'taming-transformers'...\n",
"warning: redirecting to https://gitcode.net/overbill1683/taming-transformers.git/\n",
"remote: Enumerating objects: 1342, done.\u001b[K\n",
"remote: Counting objects: 100% (1342/1342), done.\u001b[K\n",
"remote: Compressing objects: 100% (1045/1045), done.\u001b[K\n",
"remote: Total 1342 (delta 281), reused 1338 (delta 279), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (1342/1342), 409.77 MiB | 20.86 MiB/s, done.\n",
"Resolving deltas: 100% (281/281), done.\n",
"Cloning into 'k-diffusion'...\n",
"warning: redirecting to https://gitcode.net/overbill1683/k-diffusion.git/\n",
"remote: Enumerating objects: 169, done.\u001b[K\n",
"remote: Counting objects: 100% (169/169), done.\u001b[K\n",
"remote: Compressing objects: 100% (75/75), done.\u001b[K\n",
"remote: Total 1345 (delta 116), reused 138 (delta 94), pack-reused 1176\u001b[K\n",
"Receiving objects: 100% (1345/1345), 259.10 KiB | 2.27 MiB/s, done.\n",
"Resolving deltas: 100% (933/933), done.\n",
"Cloning into 'CodeFormer'...\n",
"warning: redirecting to https://gitcode.net/overbill1683/CodeFormer.git/\n",
"remote: Enumerating objects: 594, done.\u001b[K\n",
"remote: Counting objects: 100% (594/594), done.\u001b[K\n",
"remote: Compressing objects: 100% (357/357), done.\u001b[K\n",
"remote: Total 594 (delta 290), reused 466 (delta 228), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (594/594), 17.30 MiB | 6.74 MiB/s, done.\n",
"Resolving deltas: 100% (290/290), done.\n",
"Cloning into 'BLIP'...\n",
"warning: redirecting to https://gitcode.net/overbill1683/BLIP.git/\n",
"remote: Enumerating objects: 277, done.\u001b[K\n",
"remote: Counting objects: 100% (277/277), done.\u001b[K\n",
"remote: Compressing objects: 100% (124/124), done.\u001b[K\n",
"remote: Total 277 (delta 151), reused 273 (delta 150), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (277/277), 7.16 MiB | 8.40 MiB/s, done.\n",
"Resolving deltas: 100% (151/151), done.\n",
"/mnt/workspace/stable-diffusion-webui\n",
"--2024-09-02 09:33:41-- https://gitcode.net/Akegarasu/sd-webui-configs/-/raw/master/config.json\n",
"Resolving gitcode.net (gitcode.net)... 120.46.34.157\n",
"Connecting to gitcode.net (gitcode.net)|120.46.34.157|:443... connected.\n",
"HTTP request sent, awaiting response... 200 OK\n",
"Length: 9427 (9.2K) [text/plain]\n",
"Saving to: ‘config.json’\n",
"\n",
"config.json 100%[===================>] 9.21K --.-KB/s in 0s \n",
"\n",
"2024-09-02 09:33:41 (226 MB/s) - ‘config.json’ saved [9427/9427]\n",
"\n"
]
}
],
"source": [
"!git clone https://gitcode.net/overbill1683/stable-diffusion-webui\n",
"%cd stable-diffusion-webui\n",
"!mkdir repositories\n",
"%cd repositories\n",
"!git clone \"https://gitcode.net/overbill1683/stablediffusion\" \"stable-diffusion-stability-ai\"\n",
"!git clone \"https://gitcode.net/overbill1683/taming-transformers\" \"taming-transformers\"\n",
"!git clone \"https://gitcode.net/overbill1683/k-diffusion\" \"k-diffusion\"\n",
"!git clone \"https://gitcode.net/overbill1683/CodeFormer\" \"CodeFormer\"\n",
"!git clone \"https://gitcode.net/overbill1683/BLIP\" \"BLIP\"\n",
"\n",
"%cd /mnt/workspace/stable-diffusion-webui\n",
"!wget -O \"config.json\" \"https://gitcode.net/Akegarasu/sd-webui-configs/-/raw/master/config.json\""
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "29c0c31d-ea47-4056-9ace-ff044cc42cbd",
"metadata": {
"execution": {
"iopub.execute_input": "2024-09-02T01:34:33.794056Z",
"iopub.status.busy": "2024-09-02T01:34:33.793747Z",
"iopub.status.idle": "2024-09-02T01:35:18.654293Z",
"shell.execute_reply": "2024-09-02T01:35:18.653709Z",
"shell.execute_reply.started": "2024-09-02T01:34:33.794034Z"
},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"/mnt/workspace/stable-diffusion-webui\n",
"Cloning into 'sd-webui-additional-networks'...\n",
"warning: redirecting to https://gitcode.net/ranting8323/sd-webui-additional-networks.git/\n",
"remote: Enumerating objects: 809, done.\u001b[K\n",
"remote: Counting objects: 100% (809/809), done.\u001b[K\n",
"remote: Compressing objects: 100% (371/371), done.\u001b[K\n",
"remote: Total 809 (delta 457), reused 773 (delta 430), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (809/809), 246.06 KiB | 1.53 MiB/s, done.\n",
"Resolving deltas: 100% (457/457), done.\n",
"Cloning into 'sd-webui-infinite-image-browsing'...\n",
"warning: redirecting to https://gitcode.net/ranting8323/sd-webui-infinite-image-browsing.git/\n",
"remote: Enumerating objects: 1061, done.\u001b[K\n",
"remote: Counting objects: 100% (1061/1061), done.\u001b[K\n",
"remote: Compressing objects: 100% (719/719), done.\u001b[K\n",
"remote: Total 12243 (delta 541), reused 724 (delta 314), pack-reused 11182\u001b[K\n",
"Receiving objects: 100% (12243/12243), 58.11 MiB | 18.18 MiB/s, done.\n",
"Resolving deltas: 100% (6968/6968), done.\n",
"Cloning into 'stable-diffusion-webui-wd14-tagger'...\n",
"warning: redirecting to https://gitcode.net/ranting8323/stable-diffusion-webui-wd14-tagger.git/\n",
"remote: Enumerating objects: 369, done.\u001b[K\n",
"remote: Counting objects: 100% (369/369), done.\u001b[K\n",
"remote: Compressing objects: 100% (148/148), done.\u001b[K\n",
"remote: Total 369 (delta 198), reused 339 (delta 179), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (369/369), 1.08 MiB | 3.55 MiB/s, done.\n",
"Resolving deltas: 100% (198/198), done.\n",
"Cloning into 'stable-diffusion-webui-localization-zh_cn'...\n",
"Username for 'https://gitcode.net': ^C\n",
"Cloning into 'sd-webui-bilingual-localization'...\n",
"Username for 'https://gitcode.net': ^C\n",
"Cloning into 'sd-webui-tagcomplete-zh'...\n",
"warning: redirecting to https://gitcode.net/u012354248/sd-webui-tagcomplete-zh.git/\n",
"remote: Enumerating objects: 31, done.\u001b[K\n",
"remote: Counting objects: 100% (31/31), done.\u001b[K\n",
"remote: Compressing objects: 100% (26/26), done.\u001b[K\n",
"remote: Total 31 (delta 3), reused 31 (delta 3), pack-reused 0\u001b[K\n",
"Receiving objects: 100% (31/31), 3.82 MiB | 13.12 MiB/s, done.\n",
"Resolving deltas: 100% (3/3), done.\n"
]
}
],
"source": [
"## 安装常用插件,填写github链接,一行一个\n",
"extension_urls = \"\"\"\n",
"https://gitcode.net/ranting8323/sd-webui-additional-networks\n",
"https://gitcode.net/ranting8323/sd-webui-infinite-image-browsing\n",
"https://gitcode.net/ranting8323/stable-diffusion-webui-wd14-tagger\n",
"https://gitcode.net/mirrors/dtlnor/stable-diffusion-webui-localization-zh_cn\n",
"https://gitcode.net/mirrors/journey-ad/sd-webui-bilingual-localization\n",
"https://gitcode.net/u012354248/sd-webui-tagcomplete-zh\n",
"\"\"\"\n",
"\n",
"extensions = extension_urls.strip().split(\"\\n\")\n",
"\n",
"%cd /mnt/workspace/stable-diffusion-webui\n",
"for e in extensions:\n",
" !git -C \"extensions\" clone {e}"
]
},
{
"cell_type": "markdown",
"id": "ced6371a-1cff-4dbf-9400-459ebb588df2",
"metadata": {},
"source": [
"## 下载模型\n",
"- https://huggingface.co/gsdf/Counterfeit-V2.5/resolve/main/Counterfeit-V2.5_fp16.safetensors\n",
"- https://huggingface.co/Meina/MeinaMix/resolve/main/Meina%20V9%20-%20baked%20VAE.safetensors\n",
"- https://huggingface.co/ckpt/tmnd-mix/resolve/main/tmndMix_tmndMixPlus.safetensors\n",
"- https://huggingface.co/Albert-w/nightSkyYOZORAStyle/resolve/main/nightSkyYOZORAStyle_yozoraV1Origin.safetensors"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "8c290ca4-0880-41e1-b1c5-58fd9a755bb7",
"metadata": {
"execution": {
"iopub.execute_input": "2024-09-02T01:35:18.655828Z",
"iopub.status.busy": "2024-09-02T01:35:18.655390Z",
"iopub.status.idle": "2024-09-02T01:39:19.293737Z",
"shell.execute_reply": "2024-09-02T01:39:19.293131Z",
"shell.execute_reply.started": "2024-09-02T01:35:18.655798Z"
},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" *** Download Progress Summary as of Mon Sep 2 09:36:18 2024 *** \n",
"===============================================================================\n",
"[#9b9fcf 0B/0B CN:1 DL:0B]\n",
"FILE: /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Counterfeit-V2.5_fp16.safetensors\n",
"-------------------------------------------------------------------------------\n",
"\n",
" *** Download Progress Summary as of Mon Sep 2 09:37:18 2024 *** \n",
"===============================================================================\n",
"[#9b9fcf 0B/0B CN:1 DL:0B]\n",
"FILE: /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Counterfeit-V2.5_fp16.safetensors\n",
"-------------------------------------------------------------------------------\n",
"\n",
" *** Download Progress Summary as of Mon Sep 2 09:38:18 2024 *** \n",
"===============================================================================\n",
"[#9b9fcf 0B/0B CN:1 DL:0B]\n",
"FILE: /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Counterfeit-V2.5_fp16.safetensors\n",
"-------------------------------------------------------------------------------\n",
"\n",
" *** Download Progress Summary as of Mon Sep 2 09:39:19 2024 *** \n",
"===============================================================================\n",
"[#9b9fcf 0B/0B CN:1 DL:0B]\n",
"FILE: /mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Counterfeit-V2.5_fp16.safetensors\n",
"-------------------------------------------------------------------------------\n",
"\n",
"\u001b[35m[\u001b[0m#9b9fcf 0B/0B CN:1 DL:\u001b[32m0B\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\n",
"09/02 09:39:19 [\u001b[1;31mERROR\u001b[0m] CUID#7 - Download aborted. URI=https://huggingface.co/gsdf/Counterfeit-V2.5/resolve/main/Counterfeit-V2.5_fp16.safetensors\n",
"Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://huggingface.co/gsdf/Counterfeit-V2.5/resolve/main/Counterfeit-V2.5_fp16.safetensors\n",
" -> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: Error in the pull function.\n",
"\n",
"Download Results:\n",
"gid |stat|avg speed |path/URI\n",
"======+====+===========+=======================================================\n",
"9b9fcf|\u001b[1;31mERR\u001b[0m | 0B/s|/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion/Counterfeit-V2.5_fp16.safetensors\n",
"\n",
"Status Legend:\n",
"(ERR):error occurred.\n",
"\n",
"aria2 will resume download if the transfer is restarted.\n",
"If there are any errors, then see the log file. See '-l' option in help/man page for details.\n"
]
}
],
"source": [
"def aria2(url, filename, d):\n",
" !aria2c --console-log-level=error -c -x 16 -s 16 {url} -o {filename} -d {d}\n",
"\n",
"model_url = \"https://huggingface.co/gsdf/Counterfeit-V2.5/resolve/main/Counterfeit-V2.5_fp16.safetensors\"\n",
"aria2(model_url, model_url.split(\"/\")[-1], \"/mnt/workspace/stable-diffusion-webui/models/Stable-diffusion\")"
]
},
{
"cell_type": "markdown",
"id": "d90eabd2-39cb-445d-b1b1-6e2740938948",
"metadata": {},
"source": [
"## 下载 VAE\n",
"- https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt\n",
"- https://huggingface.co/huggingface675/YOZORA.vae.pt/resolve/main/YOZORA.vae.pt"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9936de5b-3f98-41ab-9af2-5691f60c4764",
"metadata": {
"execution": {
"iopub.execute_input": "2024-09-02T01:40:27.479328Z",
"iopub.status.busy": "2024-09-02T01:40:27.479024Z"
},
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" *** Download Progress Summary as of Mon Sep 2 09:41:27 2024 *** \n",
"===============================================================================\n",
"[#448b1c 0B/0B CN:1 DL:0B]\n",
"FILE: /mnt/workspace/stable-diffusion-webui/models/VAE/animevae.pt\n",
"-------------------------------------------------------------------------------\n",
"\n",
" *** Download Progress Summary as of Mon Sep 2 09:42:27 2024 *** \n",
"===============================================================================\n",
"[#448b1c 0B/0B CN:1 DL:0B]\n",
"FILE: /mnt/workspace/stable-diffusion-webui/models/VAE/animevae.pt\n",
"-------------------------------------------------------------------------------\n",
"\n",
"\u001b[35m[\u001b[0m#448b1c 0B/0B CN:1 DL:\u001b[32m0B\u001b[0m\u001b[35m]\u001b[0m\u001b[0m "
]
}
],
"source": [
"VAE_URL = \"https://huggingface.co/akibanzu/animevae/resolve/main/animevae.pt\"\n",
"aria2(VAE_URL, VAE_URL.split(\"/\")[-1], \"/mnt/workspace/stable-diffusion-webui/models/VAE\")"
]
},
{
"cell_type": "markdown",
"id": "69675507",
"metadata": {},
"source": [
"## 下载 反提示预设词"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "93650c0f",
"metadata": {},
"outputs": [],
"source": [
"VAE_URL = \"https://huggingface.co/datasets/gsdf/EasyNegative/resolve/main/EasyNegative.safetensors\"\n",
"aria2(VAE_URL, VAE_URL.split(\"/\")[-1], \"/mnt/workspace/stable-diffusion-webui/embeddings\")"
]
},
{
"cell_type": "markdown",
"id": "383abdf0",
"metadata": {},
"source": [
"## 下载 其他文件(可选)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e1dd7015",
"metadata": {},
"outputs": [],
"source": [
"# 这部分是可选的!!!!!有需要再执行!!!!!!! 修改对应文本,运行即可下载文件\n",
"DOWNLOAD_URL = \"文件链接\" # 文件链接,需要下载的url直链才可以\n",
"FILE_NAME = \"aki\" # 下载保存的文件名\n",
"SAVE_DIR = \"/mnt/workspace\" # 文件保存的路径\n",
"aria2(DOWNLOAD_URL, FILE_NAME, SAVE_DIR)"
]
},
{
"cell_type": "markdown",
"id": "e4bff16e-1f2d-4324-b1b8-78758b107eed",
"metadata": {},
"source": [
"## 启动WebUI"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "edb12c51-eacb-4086-857e-e2eac64ac94f",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"import os\n",
"package_envs = [\n",
" {\n",
" \"env\": \"GFPGAN_PACKAGE\",\n",
" \"url\": \"git+https://gitcode.net/overbill1683/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379\"\n",
" },\n",
" {\n",
" \"env\": \"CLIP_PACKAGE\",\n",
" \"url\": \"git+https://gitcode.net/overbill1683/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1\"\n",
" },\n",
" {\n",
" \"env\": \"OPENCLIP_PACKAGE\",\n",
" \"url\": \"git+https://gitcode.net/overbill1683/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b\"\n",
" }\n",
"]\n",
"os.environ[\"PIP_INDEX_URL\"] = \"https://mirrors.bfsu.edu.cn/pypi/web/simple\"\n",
"for i in package_envs:\n",
" os.environ[i[\"env\"]] = i[\"url\"]\n",
"\n",
"%cd /mnt/workspace/stable-diffusion-webui\n",
"!python launch.py --no-download-sd-model --xformers --share --listen --enable-insecure-extension-access"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b778a001-6f15-459f-ab52-f0ae75c8c8af",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
}
},
"nbformat": 4,
"nbformat_minor": 5
}