File size: 131,151 Bytes
98b0ea8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "1aa13061-4879-421f-a472-8c4419b4e8b9",
   "metadata": {},
   "source": [
    "[![Open in Studio Lab](https://studiolab.sagemaker.aws/studiolab.svg)](https://studiolab.sagemaker.aws/import/github/gutris1/segsmaker/blob/main/Segsmaker.ipynb)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "26786ea3-e294-44b6-900a-798b0880de76",
   "metadata": {
    "tags": []
   },
   "source": [
    "## Conda"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "3574c7ad-21c7-4b83-ba0d-ae6dc50bad74",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<style>:root {\n",
       "  --conda-bg: linear-gradient(to right,\n",
       "    rgb(255, 0, 0),\n",
       "    rgb(255, 0, 25),\n",
       "    rgb(255, 0, 50),\n",
       "    rgb(255, 0, 75),\n",
       "    rgb(255, 0, 100),\n",
       "    rgb(255, 0, 125),\n",
       "    rgb(255, 0, 150),\n",
       "    rgb(255, 0, 175),\n",
       "    rgb(255, 0, 200),\n",
       "    rgb(255, 0, 225),\n",
       "    rgb(255, 0, 255),\n",
       "    rgb(225, 0, 255),\n",
       "    rgb(200, 0, 255),\n",
       "    rgb(175, 0, 255),\n",
       "    rgb(150, 0, 255),\n",
       "    rgb(125, 0, 255),\n",
       "    rgb(100, 0, 255),\n",
       "    rgb(75, 0, 255),\n",
       "    rgb(50, 0, 255),\n",
       "    rgb(25, 0, 255),\n",
       "    rgb(0, 0, 255),\n",
       "    rgb(0, 25, 255),\n",
       "    rgb(0, 50, 255),\n",
       "    rgb(0, 75, 255),\n",
       "    rgb(0, 100, 255),\n",
       "    rgb(0, 125, 255),\n",
       "    rgb(0, 150, 255),\n",
       "    rgb(0, 175, 255),\n",
       "    rgb(0, 200, 255),\n",
       "    rgb(0, 225, 255),\n",
       "    rgb(0, 255, 255),\n",
       "    rgb(0, 255, 225),\n",
       "    rgb(0, 255, 200),\n",
       "    rgb(0, 255, 175),\n",
       "    rgb(0, 255, 150),\n",
       "    rgb(0, 255, 125),\n",
       "    rgb(0, 255, 100),\n",
       "    rgb(0, 255, 75),\n",
       "    rgb(0, 255, 50),\n",
       "    rgb(0, 255, 25),\n",
       "    rgb(0, 255, 0),\n",
       "    rgb(25, 255, 0),\n",
       "    rgb(50, 255, 0),\n",
       "    rgb(75, 255, 0),\n",
       "    rgb(100, 255, 0),\n",
       "    rgb(125, 255, 0),\n",
       "    rgb(150, 255, 0),\n",
       "    rgb(175, 255, 0),\n",
       "    rgb(200, 255, 0),\n",
       "    rgb(225, 255, 0),\n",
       "    rgb(255, 255, 0),      \n",
       "    rgb(255, 225, 0),\n",
       "    rgb(255, 200, 0),\n",
       "    rgb(255, 175, 0),\n",
       "    rgb(255, 150, 0),\n",
       "    rgb(255, 125, 0),\n",
       "    rgb(255, 100, 0),\n",
       "    rgb(255, 75, 0),\n",
       "    rgb(255, 50, 0),\n",
       "    rgb(255, 25, 0),\n",
       "    rgb(255, 0, 0));}\n",
       "\n",
       ".boxs {\n",
       "    border: 3px solid transparent;\n",
       "    border-radius: 10px;\n",
       "    margin: 0;\n",
       "    background: url('https://wallpapercave.com/dwp1x/wp5126154.jpg');\n",
       "    background-size: 100% 100%;\n",
       "    background-position: 100% 200%;\n",
       "    animation: slideAndBlurFromCenter 1s, BorderPulse 15s infinite;\n",
       "}\n",
       "    \n",
       ".widget-container {\n",
       "    margin-top: 0px;\n",
       "    margin-right: 0px;\n",
       "    margin-bottom: 0px;\n",
       "    margin-left: 0px;\n",
       "    position: relative;\n",
       "    overflow: visible;\n",
       "}\n",
       "\n",
       ".api-input input[type=\"text\"] {\n",
       "    font-family: 'Roboto Mono', monospace;\n",
       "    margin-top: -10px;\n",
       "    margin-right: 0px;\n",
       "    margin-bottom: 0px;\n",
       "    margin-left: 0px;\n",
       "    font-size: 15px;\n",
       "    height: 35px;\n",
       "    color: white;\n",
       "    text-align: center;\n",
       "    border-radius: 10px;\n",
       "    border: 3px solid #ab22fe;\n",
       "    transform: scale(125%);\n",
       "}\n",
       "\n",
       ".api-input input:focus {\n",
       "    height: 35px;\n",
       "    border-radius: 10px;\n",
       "    border: 3px solid transparent;\n",
       "    animation: BorderPulse 10s infinite;\n",
       "}\n",
       "\n",
       ".api-input input:hover {\n",
       "    height: 35px;\n",
       "    border-radius: 10px;\n",
       "    border: 3px solid #2197f2;\n",
       "}\n",
       "\n",
       ".save-button {\n",
       "    font-family: 'Times New Roman', serif;\n",
       "    text-align: center;\n",
       "    margin-top: 0px;\n",
       "    margin-right: 0px;\n",
       "    margin-bottom: -10px;\n",
       "    margin-left: 0px;\n",
       "    font-size: 25px;\n",
       "    width: 100px;\n",
       "    height: 40px;\n",
       "    color: white;\n",
       "    border-radius: 10px;\n",
       "    border: 3px solid #2197f2;\n",
       "    background: transparent;\n",
       "    transition: transform 0.5s ease;}\n",
       "\n",
       ".save-button:hover {\n",
       "    transform: scale(1.3);\n",
       "    color: black;\n",
       "    border-radius: 10px;\n",
       "    border: 3px solid transparent;\n",
       "    background-size: 800% 100%;\n",
       "    cursor: pointer;\n",
       "    background-image: var(--conda-bg);\n",
       "    animation: slideBackground 10s linear infinite, BorderPulse 7s infinite;}\n",
       "\n",
       ".gradient-conda {\n",
       "  width: 200px;\n",
       "  height: 5px;\n",
       "  font-size: 0px;\n",
       "  background-image: var(--conda-bg);\n",
       "  background-size: 800% 500%;\n",
       "  border-radius: 2px;\n",
       "  border: 1px solid transparent;\n",
       "  display: inline-block;\n",
       "  animation: slideBackground 10s linear infinite, BorderPulse 7s infinite;}\n",
       "\n",
       "@keyframes slideBackground {\n",
       "  0% { background-position: 0% 50%; }\n",
       "  100% { background-position: -800% 50%; }}\n",
       "\n",
       "@keyframes BorderPulse {\n",
       "  0% {border-color: rgba(255, 0, 0, 1);}\n",
       "  1.67% {border-color: rgba(255, 0, 25, 0.75);}\n",
       "  3.33% {border-color: rgba(255, 0, 50, 0.5);}\n",
       "  5.00% {border-color: rgba(255, 0, 75, 0.75);}\n",
       "  6.67% {border-color: rgba(255, 0, 100, 1);}\n",
       "  8.33% {border-color: rgba(255, 0, 125, 0.75);}\n",
       "  10.00% {border-color: rgba(255, 0, 150, 0.5);}\n",
       "  11.67% {border-color: rgba(255, 0, 175, 0.75);}\n",
       "  13.33% {border-color: rgba(255, 0, 200, 1);}\n",
       "  15.00% {border-color: rgba(255, 0, 225, 0.75);}\n",
       "  16.67% {border-color: rgba(255, 0, 255, 0.5);}\n",
       "  18.33% {border-color: rgba(225, 0, 255, 0.75);}\n",
       "  20.00% {border-color: rgba(200, 0, 255, 1);}\n",
       "  21.67% {border-color: rgba(175, 0, 255, 0.75);}\n",
       "  23.33% {border-color: rgba(150, 0, 255, 0.5);}\n",
       "  25.00% {border-color: rgba(125, 0, 255, 0.75);}\n",
       "  26.67% {border-color: rgba(100, 0, 255, 1);}\n",
       "  28.33% {border-color: rgba(75, 0, 255, 0.75);}\n",
       "  30.00% {border-color: rgba(50, 0, 255, 0.5);}\n",
       "  31.67% {border-color: rgba(25, 0, 255, 0.75);}\n",
       "  33.33% {border-color: rgba(0, 0, 255, 1);}\n",
       "  35.00% {border-color: rgba(0, 25, 255, 0.75);}\n",
       "  36.67% {border-color: rgba(0, 50, 255, 0.5);}\n",
       "  38.33% {border-color: rgba(0, 75, 255, 0.75);}\n",
       "  40.00% {border-color: rgba(0, 100, 255, 1);}\n",
       "  41.67% {border-color: rgba(0, 125, 255, 0.75);}\n",
       "  43.33% {border-color: rgba(0, 150, 255, 0.5);}\n",
       "  45.00% {border-color: rgba(0, 175, 255, 0.75);}\n",
       "  46.67% {border-color: rgba(0, 200, 255, 1);}\n",
       "  48.33% {border-color: rgba(0, 225, 255, 0.75);}\n",
       "  50.00% {border-color: rgba(0, 255, 255, 0.5);}\n",
       "  51.67% {border-color: rgba(0, 255, 225, 0.75);}\n",
       "  53.33% {border-color: rgba(0, 255, 200, 1);}\n",
       "  55.00% {border-color: rgba(0, 255, 175, 0.75);}\n",
       "  56.67% {border-color: rgba(0, 255, 150, 0.5);}\n",
       "  58.33% {border-color: rgba(0, 255, 125, 0.75);}\n",
       "  60.00% {border-color: rgba(0, 255, 100, 1);}\n",
       "  61.67% {border-color: rgba(0, 255, 75, 0.75);}\n",
       "  63.33% {border-color: rgba(0, 255, 50, 0.5);}\n",
       "  65.00% {border-color: rgba(0, 255, 25, 0.75);}\n",
       "  66.67% {border-color: rgba(0, 255, 0, 1);}\n",
       "  68.33% {border-color: rgba(25, 255, 0, 0.75);}\n",
       "  70.00% {border-color: rgba(50, 255, 0, 0.5);}\n",
       "  71.67% {border-color: rgba(75, 255, 0, 0.75);}\n",
       "  73.33% {border-color: rgba(100, 255, 0, 1);}\n",
       "  75.00% {border-color: rgba(125, 255, 0, 0.75);}\n",
       "  76.67% {border-color: rgba(150, 255, 0, 0.5);}\n",
       "  78.33% {border-color: rgba(175, 255, 0, 0.75);}\n",
       "  80.00% {border-color: rgba(200, 255, 0, 1);}\n",
       "  81.67% {border-color: rgba(225, 255, 0, 0.75);}\n",
       "  83.33% {border-color: rgba(255, 255, 0, 0.5);}\n",
       "  85.00% {border-color: rgba(255, 225, 0, 0.75);}\n",
       "  86.67% {border-color: rgba(255, 200, 0, 1);}\n",
       "  88.33% {border-color: rgba(255, 175, 0, 0.75);}\n",
       "  90.00% {border-color: rgba(255, 150, 0, 0.5);}\n",
       "  91.67% {border-color: rgba(255, 125, 0, 0.75);}\n",
       "  93.33% {border-color: rgba(255, 100, 0, 1);}\n",
       "  95.00% {border-color: rgba(255, 75, 0, 0.75);}\n",
       "  96.67% {border-color: rgba(255, 50, 0, 0.5);}\n",
       "  98.33% {border-color: rgba(255, 25, 0, 0.75);}\n",
       "  100% {border-color: rgba(255, 0, 0, 1);}}\n",
       "\n",
       "@keyframes slideAndBlurFromCenter {\n",
       "    from {\n",
       "        transform: scale(0.1);\n",
       "        opacity: 0;\n",
       "        filter: blur(1000px);}\n",
       "    to {\n",
       "        transform: scale(1);\n",
       "        opacity: 1;\n",
       "        filter: blur(0px);}}\n",
       "</style>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "VBox(children=(Text(value='', placeholder='enter your civitai API KEY here', _dom_classes=('api-input',)), But…"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "eff974b560a34ff9a8753a47a5405801",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Output()"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "654bc7030fe3466a96abe02f6503347a",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Output()"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "!curl -sLo ~/.conda/conda_install.py https://github.com/gutris1/segsmaker/raw/main/script/conda1.py\n",
    "%run ~/.conda/conda_install.py"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "011fac09-3453-4fea-bad6-da971f037c3b",
   "metadata": {
    "tags": [],
    "toc-hr-collapsed": true
   },
   "source": [
    "## Clone SD"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "3b4990da-52c9-4728-b04a-a989215221e3",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<style>:root {\n",
       "  --gradient-background: linear-gradient(to right,\n",
       "    rgb(255, 0, 0),\n",
       "    rgb(255, 0, 25),\n",
       "    rgb(255, 0, 50),\n",
       "    rgb(255, 0, 75),\n",
       "    rgb(255, 0, 100),\n",
       "    rgb(255, 0, 125),\n",
       "    rgb(255, 0, 150),\n",
       "    rgb(255, 0, 175),\n",
       "    rgb(255, 0, 200),\n",
       "    rgb(255, 0, 225),\n",
       "    rgb(255, 0, 255),\n",
       "    rgb(225, 0, 255),\n",
       "    rgb(200, 0, 255),\n",
       "    rgb(175, 0, 255),\n",
       "    rgb(150, 0, 255),\n",
       "    rgb(125, 0, 255),\n",
       "    rgb(100, 0, 255),\n",
       "    rgb(75, 0, 255),\n",
       "    rgb(50, 0, 255),\n",
       "    rgb(25, 0, 255),\n",
       "    rgb(0, 0, 255),\n",
       "    rgb(0, 25, 255),\n",
       "    rgb(0, 50, 255),\n",
       "    rgb(0, 75, 255),\n",
       "    rgb(0, 100, 255),\n",
       "    rgb(0, 125, 255),\n",
       "    rgb(0, 150, 255),\n",
       "    rgb(0, 175, 255),\n",
       "    rgb(0, 200, 255),\n",
       "    rgb(0, 225, 255),\n",
       "    rgb(0, 255, 255),\n",
       "    rgb(0, 255, 225),\n",
       "    rgb(0, 255, 200),\n",
       "    rgb(0, 255, 175),\n",
       "    rgb(0, 255, 150),\n",
       "    rgb(0, 255, 125),\n",
       "    rgb(0, 255, 100),\n",
       "    rgb(0, 255, 75),\n",
       "    rgb(0, 255, 50),\n",
       "    rgb(0, 255, 25),\n",
       "    rgb(0, 255, 0),\n",
       "    rgb(25, 255, 0),\n",
       "    rgb(50, 255, 0),\n",
       "    rgb(75, 255, 0),\n",
       "    rgb(100, 255, 0),\n",
       "    rgb(125, 255, 0),\n",
       "    rgb(150, 255, 0),\n",
       "    rgb(175, 255, 0),\n",
       "    rgb(200, 255, 0),\n",
       "    rgb(225, 255, 0),\n",
       "    rgb(255, 255, 0),      \n",
       "    rgb(255, 225, 0),\n",
       "    rgb(255, 200, 0),\n",
       "    rgb(255, 175, 0),\n",
       "    rgb(255, 150, 0),\n",
       "    rgb(255, 125, 0),\n",
       "    rgb(255, 100, 0),\n",
       "    rgb(255, 75, 0),\n",
       "    rgb(255, 50, 0),\n",
       "    rgb(255, 25, 0),\n",
       "    rgb(255, 0, 0));}\n",
       "\n",
       ".boxxx {\n",
       "  border: 3px solid transparent;\n",
       "  border-radius: 10px;\n",
       "  margin: 0;\n",
       "  background: url('https://wallpapercave.com/dwp1x/wp5126154.jpg');\n",
       "  background-size: 100% 100%;\n",
       "  background-position: 100% 200%;\n",
       "  animation: slideAndBlurFromCenter 1s, BorderPulse 15s infinite;\n",
       "  transition: border-color 0.1s ease-out;}\n",
       "\n",
       ".widget-container {\n",
       "  margin-top: 0px;\n",
       "  margin-right: 0px;\n",
       "  margin-bottom: 0px;\n",
       "  margin-left: 0px;\n",
       "  position: relative;\n",
       "  overflow: visible;}\n",
       "\n",
       ".b1, .b2, .out {\n",
       "  font-family: 'Times New Roman', serif;\n",
       "  font-size: 25px;\n",
       "  text-align: center;\n",
       "  background: transparent;}\n",
       "\n",
       ".b1 { margin-left: 0px;}\n",
       ".b2 { margin-left: 100px;}\n",
       "\n",
       ".b1, .b2 {\n",
       "  border: 2px solid #2197f2;\n",
       "  margin-top: 0px;\n",
       "  margin-right: 0px;\n",
       "  margin-bottom: 0px;\n",
       "  width: 100px;\n",
       "  height: 40px;\n",
       "  color: white;\n",
       "  border-radius: 10px;\n",
       "  transition: all 0.5s ease-out;}\n",
       "\n",
       ".out {\n",
       "  margin-top: 0px;\n",
       "  margin-right: 0px;\n",
       "  margin-bottom: 0px;\n",
       "  margin-left: 0px;\n",
       "  font-size: 25px;\n",
       "  width: 110px;\n",
       "  height: 40px;\n",
       "  color: white;\n",
       "  border-radius: 10px;\n",
       "  border: 2px solid #2197f2;\n",
       "  background: transparent;\n",
       "  transition: all 0.5s ease-out;}\n",
       "\n",
       ".b1:hover, .b2:hover, .out:hover {\n",
       "  transform: scale(1.2);\n",
       "  border: 2px solid transparent;\n",
       "  color: #ab22fe;\n",
       "  background-image: linear-gradient(to right, transparent, #000000);\n",
       "  background-size: 500% 100%;\n",
       "  background-position: center;\n",
       "  animation: BorderPulse 7s infinite;\n",
       "  transition: all 0.3s ease-out;}\n",
       "\n",
       ".b1:focus, .b2:focus {\n",
       "  transform: scale(1.2);\n",
       "  color: #212121;\n",
       "  cursor: pointer;\n",
       "  border: 1px solid transparent;\n",
       "  background-size: 800% 500%;\n",
       "  background-image: var(--gradient-background);\n",
       "  animation: slideBackground 10s linear infinite;\n",
       "  transition: all 0.3s ease-out;}\n",
       "\n",
       "@keyframes slideBackground {\n",
       "  0% { background-position: 0% 50%; }\n",
       "  100% { background-position: -800% 50%; }}\n",
       "\n",
       "@keyframes BorderPulse {\n",
       "  0% {border-color: rgba(255, 0, 0, 1);}\n",
       "  1.67% {border-color: rgba(255, 0, 25, 0.75);}\n",
       "  3.33% {border-color: rgba(255, 0, 50, 0.5);}\n",
       "  5.00% {border-color: rgba(255, 0, 75, 0.75);}\n",
       "  6.67% {border-color: rgba(255, 0, 100, 1);}\n",
       "  8.33% {border-color: rgba(255, 0, 125, 0.75);}\n",
       "  10.00% {border-color: rgba(255, 0, 150, 0.5);}\n",
       "  11.67% {border-color: rgba(255, 0, 175, 0.75);}\n",
       "  13.33% {border-color: rgba(255, 0, 200, 1);}\n",
       "  15.00% {border-color: rgba(255, 0, 225, 0.75);}\n",
       "  16.67% {border-color: rgba(255, 0, 255, 0.5);}\n",
       "  18.33% {border-color: rgba(225, 0, 255, 0.75);}\n",
       "  20.00% {border-color: rgba(200, 0, 255, 1);}\n",
       "  21.67% {border-color: rgba(175, 0, 255, 0.75);}\n",
       "  23.33% {border-color: rgba(150, 0, 255, 0.5);}\n",
       "  25.00% {border-color: rgba(125, 0, 255, 0.75);}\n",
       "  26.67% {border-color: rgba(100, 0, 255, 1);}\n",
       "  28.33% {border-color: rgba(75, 0, 255, 0.75);}\n",
       "  30.00% {border-color: rgba(50, 0, 255, 0.5);}\n",
       "  31.67% {border-color: rgba(25, 0, 255, 0.75);}\n",
       "  33.33% {border-color: rgba(0, 0, 255, 1);}\n",
       "  35.00% {border-color: rgba(0, 25, 255, 0.75);}\n",
       "  36.67% {border-color: rgba(0, 50, 255, 0.5);}\n",
       "  38.33% {border-color: rgba(0, 75, 255, 0.75);}\n",
       "  40.00% {border-color: rgba(0, 100, 255, 1);}\n",
       "  41.67% {border-color: rgba(0, 125, 255, 0.75);}\n",
       "  43.33% {border-color: rgba(0, 150, 255, 0.5);}\n",
       "  45.00% {border-color: rgba(0, 175, 255, 0.75);}\n",
       "  46.67% {border-color: rgba(0, 200, 255, 1);}\n",
       "  48.33% {border-color: rgba(0, 225, 255, 0.75);}\n",
       "  50.00% {border-color: rgba(0, 255, 255, 0.5);}\n",
       "  51.67% {border-color: rgba(0, 255, 225, 0.75);}\n",
       "  53.33% {border-color: rgba(0, 255, 200, 1);}\n",
       "  55.00% {border-color: rgba(0, 255, 175, 0.75);}\n",
       "  56.67% {border-color: rgba(0, 255, 150, 0.5);}\n",
       "  58.33% {border-color: rgba(0, 255, 125, 0.75);}\n",
       "  60.00% {border-color: rgba(0, 255, 100, 1);}\n",
       "  61.67% {border-color: rgba(0, 255, 75, 0.75);}\n",
       "  63.33% {border-color: rgba(0, 255, 50, 0.5);}\n",
       "  65.00% {border-color: rgba(0, 255, 25, 0.75);}\n",
       "  66.67% {border-color: rgba(0, 255, 0, 1);}\n",
       "  68.33% {border-color: rgba(25, 255, 0, 0.75);}\n",
       "  70.00% {border-color: rgba(50, 255, 0, 0.5);}\n",
       "  71.67% {border-color: rgba(75, 255, 0, 0.75);}\n",
       "  73.33% {border-color: rgba(100, 255, 0, 1);}\n",
       "  75.00% {border-color: rgba(125, 255, 0, 0.75);}\n",
       "  76.67% {border-color: rgba(150, 255, 0, 0.5);}\n",
       "  78.33% {border-color: rgba(175, 255, 0, 0.75);}\n",
       "  80.00% {border-color: rgba(200, 255, 0, 1);}\n",
       "  81.67% {border-color: rgba(225, 255, 0, 0.75);}\n",
       "  83.33% {border-color: rgba(255, 255, 0, 0.5);}\n",
       "  85.00% {border-color: rgba(255, 225, 0, 0.75);}\n",
       "  86.67% {border-color: rgba(255, 200, 0, 1);}\n",
       "  88.33% {border-color: rgba(255, 175, 0, 0.75);}\n",
       "  90.00% {border-color: rgba(255, 150, 0, 0.5);}\n",
       "  91.67% {border-color: rgba(255, 125, 0, 0.75);}\n",
       "  93.33% {border-color: rgba(255, 100, 0, 1);}\n",
       "  95.00% {border-color: rgba(255, 75, 0, 0.75);}\n",
       "  96.67% {border-color: rgba(255, 50, 0, 0.5);}\n",
       "  98.33% {border-color: rgba(255, 25, 0, 0.75);}\n",
       "  100% {border-color: rgba(255, 0, 0, 1);}}\n",
       "\n",
       "@keyframes slideAndBlurFromCenter {\n",
       "  from {\n",
       "    transform: scale(0);\n",
       "    opacity: 0;\n",
       "    filter: blur(1000px);}\n",
       "  to {\n",
       "    transform: scale(1);\n",
       "    opacity: 1;\n",
       "    filter: blur(0px);}}\n",
       "\n",
       ".gradient-text {\n",
       "  width: 750px;\n",
       "  height: 5px;\n",
       "  font-size: 0px;\n",
       "  background-image: var(--gradient-background);\n",
       "  background-size: 800% 500%;\n",
       "  color: black;\n",
       "  border-radius: 2px;\n",
       "  border: 1px solid transparent;\n",
       "  display: inline-block;\n",
       "  animation: slideBackground 20s linear infinite, BorderPulse 7s infinite;\n",
       "  transition: all 0.3s ease-out;}\n",
       "</style>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "VBox(children=(HBox(children=(Button(description='SD 1.5', style=ButtonStyle(), _dom_classes=('b1',)), Button(…"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "5a2a053797914484a6f32041e2253a97",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Output()"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "dc8a8490aa35494fa53ff574e112b698",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "Output()"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "!curl -sLo ~/.conda/setup.py https://github.com/gutris1/segsmaker/raw/main/ui/sd/asd/setup.py\n",
    "%run ~/.conda/setup.py"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "598827fd-7cf0-4d73-b982-c417916b7e96",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Cloning into 'a1111-stable-diffusion-webui-vram-estimator'...\n",
      "remote: Enumerating objects: 26, done.\u001b[K\n",
      "remote: Counting objects: 100% (26/26), done.\u001b[K\n",
      "remote: Compressing objects: 100% (17/17), done.\u001b[K\n",
      "remote: Total 26 (delta 8), reused 13 (delta 3), pack-reused 0\u001b[K\n",
      "Unpacking objects: 100% (26/26), 28.10 KiB | 4.68 MiB/s, done.\n"
     ]
    }
   ],
   "source": [
    "''' add Extensions here'''\n",
    "%cd -q ~/asd/extensions\n",
    "!git clone https://github.com/etherealxx/batchlinks-webui.git\n",
    "!git clone https://github.com/AlUlkesh/sd_dpmpp_sde_no_random/ extensions/sd_dpmpp_sde_no_random\n",
    "!git clone https://github.com/ahgsql/StyleSelectorXL\n",
    "!git clone https://github.com/hako-mikan/sd-webui-lora-block-weight.git\n",
    "!git clone https://github.com/richrobber2/canvas-zoom.git\n",
    "!git clone https://github.com/NoCrypt/batchlinks-addon.git\n",
    "!git clone https://github.com/Coyote-A/ultimate-upscale-for-automatic1111.git\n",
    "!git clone https://github.com/hako-mikan/sd-webui-regional-prompter.git\n",
    "!git clone https://github.com/alemelis/sd-webui-ar.git\n",
    "!git clone https://github.com/hnmr293/sd-webui-cutoff.git\n",
    "!git clone https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git\n",
    "!git clone https://github.com/ljleb/sd-webui-neutral-prompt.git\n",
    "!git clone https://github.com/lifeisboringsoprogramming/sd-webui-lora-masks.git\n",
    "!git clone https://github.com/a2569875/stable-diffusion-webui-composable-lora.git\n",
    "!git clone https://github.com/mix1009/model-keyword.git\n",
    "!git clone https://github.com/hako-mikan/sd-webui-supermerger.git\n",
    "!git clone https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git\n",
    "!git clone https://github.com/wcde/sd-webui-refiner.git\n",
    "!git clone https://github.com/light-and-ray/sd-webui-lcm-sampler.git\n",
    "!git clone https://github.com/vladmandic/sd-extension-system-info.git\n",
    "!git clone https://github.com/Extraltodeus/test_my_prompt.git\n",
    "!git clone https://github.com/cheald/sd-webui-loractl.git\n",
    "!git clone https://github.com/ilian6806/stable-diffusion-webui-state.git\n",
    "!git clone https://github.com/hako-mikan/sd-webui-cd-tuner\n",
    "!git clone https://github.com/Haoming02/sd-forge-couple.git\n",
    "!git clone https://github.com/Haoming02/sd-webui-diffusion-cg\n",
    "\n",
    "\n",
    "!git clone https://github.com/thomaseding/sd-webui-color-enhance.git\n",
    "\n",
    "!git clone https://github.com/AG-w/sd-webui-smea.git\n",
    "!git clone https://github.com/Koishi-Star/Euler-Smea-Dyn-Sampler.git\n",
    "!git clone https://github.com/ananosleep/advanced_euler_sampler_extension.git\n",
    "!git clone https://github.com/dfl/comfyui-tcd-scheduler.git\n",
    "\n",
    "\n",
    "!git clone https://github.com/klimaleksus/stable-diffusion-webui-fix-image-paste.git\n",
    "!git clone https://github.com/klimaleksus/stable-diffusion-webui-embedding-merge.git\n",
    "!git clone https://github.com/klimaleksus/stable-diffusion-webui-anti-burn.git\n",
    "!git clone https://github.com/klimaleksus/stable-diffusion-webui-conditioning-highres-fix.git\n",
    "!git clone https://github.com/klimaleksus/stable-diffusion-webui-batched-hires\n",
    "!git clone https://github.com/klimaleksus/stable-diffusion-webui-disable-inpainting-overlay.git\n",
    "!git clone https://github.com/klimaleksus/stable-diffusion-webui-giant-kitten.git\n",
    "!git clone https://github.com/Zuellni/Stable-Diffusion-WebUI-Image-Filters.git\n",
    "!git clone https://github.com/NoCrypt/inpaint-nav.git\n",
    "!git clone https://github.com/ashen-sensored/stable-diffusion-webui-two-shot.git\n",
    "!git clone https://github.com/ashen-sensored/sd_webui_masactrl.git\n",
    "#!git clone https://github.com/ashen-sensored/sd_webui_SAG.git\n",
    "\n",
    "\n",
    "\n",
    "!git clone https://github.com/yoinked-h/yoinked-style-adder.git\n",
    "!git clone https://github.com/ArtVentureX/sd-webui-agent-scheduler.git\n",
    "!git clone https://github.com/ilian6806/stable-diffusion-webui-state\n",
    "!git clone https://github.com/Yinzo/sd-webui-Lora-queue-helper.git\n",
    "!git clone https://github.com/pamparamm/sd-webui-lora-uc\n",
    "!git clone https://github.com/pamparamm/ComfyUI-AutomaticCFG.git\n",
    "!git clone https://github.com/pamparamm/sd-perturbed-attention.git\n",
    "!git clone https://github.com/WASasquatch/FreeU_Advanced.git\n",
    "!git clone https://github.com/Extraltodeus/custom-sd-upscale.git\n",
    "!git clone https://github.com/Extraltodeus/test_my_prompt.git\n",
    "!git clone https://github.com/Extraltodeus/advanced-loopback-for-sd-webui.git\n",
    "!git clone https://github.com/ljleb/prompt-fusion-extension.git\n",
    "!git clone https://github.com/yownas/seed_travel.git\n",
    "!git clone https://github.com/city96/SD-Latent-Upscaler.git\n",
    "\n",
    "\n",
    "#!git clone https://github.com/vladmandic/sd-extension-chainner.git\n",
    "!git clone https://github.com/Kahsolt/stable-diffusion-webui-lora-zip.git\n",
    "!git clone https://github.com/Inzaniak/sd-webui-ranbooru.git\n",
    "!git clone https://github.com/Inzaniak/comfyui-ranbooru.git\n",
    "!git clone https://github.com/Inzaniak/sd-webui-workflow.git\n",
    "!git clone https://github.com/PurpleBlueAloeVera/aloe-promptifier.git\n",
    "!git clone https://github.com/Kahsolt/stable-diffusion-webui-vae-tile-infer.git\n",
    "!git clone https://github.com/Kahsolt/stable-diffusion-webui-sonar.git\n",
    "!git clone https://github.com/Kahsolt/stable-diffusion-webui-hires-fix-progressive.git\n",
    "!git clone https://github.com/alexblattner/modified-euler-samplers-for-sonar-diffusers.git\n",
    "!git clone https://github.com/Kahsolt/stable-diffusion-webui-size-travel\n",
    "!git clone https://github.com/opparco/stable-diffusion-webui-sched.git\n",
    "!git clone https://github.com/opparco/stable-diffusion-webui-latent-correction.git\n",
    "#!git clone https://github.com/kohya-ss/sd-webui-controlnet-lora.git\n",
    "!git clone https://github.com/Mikubill/sd-paint-with-words\n",
    "!git clone https://github.com/ljleb/sd-webui-scalecrafter.git\n",
    "!git clone https://github.com/YingqingHe/ScaleCrafter\n",
    "!git clone https://github.com/hako-mikan/sd-webui-negpip.git\n",
    "!git clone https://github.com/hako-mikan/sd-webui-prevent-artifact.git\n",
    "!git clone https://github.com/hako-mikan/sd-webui-xyzplot-preset.git\n",
    "!git clone https://github.com/muerrilla/stable-diffusion-NPW\n",
    "!git clone https://github.com/muerrilla/stable-diffusion-Latentshop.git\n",
    "!git clone https://github.com/kousw/stable-diffusion-webui-daam.git\n",
    "!git clone https://github.com/SusungHong/Self-Attention-Guidance\n",
    "!git clone https://github.com/Haoming02/sd-webui-diffusion-cg.git\n",
    "!git clone https://github.com/AlUlkesh/sd_grid_add_image_number.git\n",
    "!git clone https://github.com/richrobber2/canvas-zoom.git\n",
    "!git clone https://github.com/ljleb/sd-webui-freeu.git\n",
    "!git clone https://github.com/ljleb/SD-latent-mirroring.git\n",
    "!git clone https://github.com/dfaker/embedding-to-png-script.git\n",
    "!git clone https://github.com/ljleb/sd-webui-batch-loopback.git\n",
    "!git clone https://github.com/Haoming02/sd-webui-vectorscope-cc.git\n",
    "!git clone https://github.com/SLAPaper/sd-webui-pag.git\n",
    "!git clone https://github.com/v0xie/sd-webui-incantations.git\n",
    "!git clone https://github.com/SLAPaper/StableDiffusion-dpmpp_2m_alt-Sampler.git\n",
    "!git clone https://github.com/SLAPaper/asymmetric-tiling-sd-webui.git\n",
    "!git clone https://github.com/SLAPaper/sd-webui-sdxl-latent-tweaking.git\n",
    "!git clone https://github.com/SLAPaper/sd-forge-layerdiffusion\n",
    "#!git clone https://github.com/SLAPaper/sd_webui_SAG.git\n",
    "\n",
    "!git clone https://github.com/Haoming02/sd-webui-mosaic-outpaint\n",
    "!git clone https://github.com/Haoming02/sd-webui-curtains\n",
    "!git clone https://github.com/Haoming02/sd-webui-resharpen\n",
    "!git clone https://github.com/Haoming02/sd-webui-image-comparison\n",
    "!git clone https://github.com/Haoming02/sd-webui-prompt-format\n",
    "!git clone https://github.com/Haoming02/sd-webui-auto-res.git\n",
    "!git clone https://github.com/CodeZombie/latentcoupleregionmapper.git\n",
    "!git clone https://github.com/hnmr293/ssasd.git\n",
    "!git clone https://github.com/hnmr293/sd-webui-evviz2\n",
    "!git clone https://github.com/hnmr293/sd-webui-xl_vec.git\n",
    "!git clone https://github.com/hnmr293/sd-webui-reactivity.git\n",
    "!git clone https://github.com/hnmr293/stable-diffusion-webui-tripclipskip.git\n",
    "!git clone https://github.com/hnmr293/sd-webui-matview.git\n",
    "!git clone https://github.com/hnmr293/sd-webui-llul.git\n",
    "!git clone https://github.com/hnmr293/sd-webui-dycfg.git\n",
    "!git clone https://github.com/hnmr293/ComfyUI-nodes-hnmr.git\n",
    "!git clone https://github.com/wcde/sd-webui-kohya-hiresfix.git\n",
    "!git clone https://github.com/wcde/custom-hires-fix-for-automatic1111.git\n",
    "!git clone https://github.com/lihaoyun6/sd-webui-Hires-fix-Plus.git\n",
    "#!git clone https://github.com/lihaoyun6/sd-webui-DFLAME.git\n",
    "!git clone https://github.com/lihaoyun6/sd-webui-Blind-Watermark\n",
    "!git clone https://github.com/w-e-w/sd-webui-hires-fix-tweaks.git\n",
    "!git clone https://github.com/w-e-w/sd-webui-xyz-addon.git\n",
    "!git clone https://github.com/w-e-w/sd-webui-expanded-xyz-plot.git\n",
    "!git clone https://github.com/w-e-w/sd-webui-token-downsampling.git\n",
    "!git clone https://github.com/AG-w/sd-webui-todo.git\n",
    "!git clone https://github.com/feffy380/sd-webui-perturbed-attention-guidance.git\n",
    "!git clone https://github.com/w-e-w/sd-webui-infotext-example.git\n",
    "!git clone https://github.com/feffy380/prompt-morph.git\n",
    "!git clone https://github.com/AG-w/sd_webui_SAG.git\n",
    "\n",
    "\n",
    "!git clone https://github.com/light-and-ray/sd-webui-old-sd-firstpasser.git\n",
    "!git clone https://github.com/light-and-ray/sd-webui-cli-interruption.git\n",
    "!git clone https://github.com/new-sankaku/stable-diffusion-webui-simple-manga-maker.git\n",
    "#!git clone https://github.com/light-and-ray/sd-webui-cn-in-extras-tab.git\n",
    "!git clone https://github.com/light-and-ray/sd-webui-color-correction-extras.git\n",
    "!git clone https://github.com/light-and-ray/sd-webui-gray-violet-primary-color.git\n",
    "#!git clone https://github.com/light-and-ray/sd-webui-replacer.git\n",
    "!git clone https://github.com/Carzit/sd-webui-samplers-scheduler.git\n",
    "!git clone https://github.com/John-WL/sd-webui-inpaint-background.git\n",
    "!git clone https://github.com/John-WL/sd-webui-mask-fractioner.git\n",
    "!git clone https://github.com/John-WL/sd-webui-inpaint-difference\n",
    "!git clone https://github.com/John-WL/sd-webui-alpha-mask\n",
    "!git clone https://github.com/w-e-w/stable-diffusion-webui-GPU-temperature-protection.git\n",
    "!git clone https://github.com/w-e-w/embedding-inspector.git\n",
    "!git clone https://github.com/p1atdev/stable-diffusion-webui-adverse-cleaner-tab.git\n",
    "!git clone https://github.com/diegocr/stable-diffusion-webui-electron.git\n",
    "!git clone https://github.com/p1atdev/sd-danbooru-tags-upsampler.git\n",
    "!git clone https://github.com/h43lb1t0/sd-webui-sdxl-refiner-hack.git\n",
    "!git clone https://github.com/h43lb1t0/SD-WebUI-BatchCheckpointPrompt\n",
    "!git clone https://github.com/Filexor/DeepShrinkHires.fix.git\n",
    "!git clone https://github.com/feynlee/latent-upscale.git\n",
    "!git clone https://github.com/Haoming02/sd-webui-tabs-extension.git\n",
    "!git clone https://github.com/Haoming02/sd-webui-aaa.git\n",
    "!git clone https://github.com/Haoming02/sd-webui-moar-generate.git\n",
    "!git clone https://github.com/blue-pen5805/sdweb-easy-generate-forever.git\n",
    "!git clone https://github.com/Haoming02/sd-webui-dynamic-hdr.git\n",
    "!git clone https://github.com/blue-pen5805/sdweb-easy-wheel-edit-attention.git\n",
    "!git clone https://github.com/v0xie/sd-webui-cads.git\n",
    "\n",
    "\n",
    "!git clone https://github.com/space-nuko/a1111-stable-diffusion-webui-vram-estimator.git\n",
    "!git clone https://github.com/lisanet/sd-webui-sdxl-aspects.git\n",
    "!git clone https://github.com/mcmonkeyprojects/sd-infinity-grid-generator-script.git\n",
    "!git clone https://github.com/Linaqruf/sdxl-model-converter.git\n",
    "!git clone https://github.com/yownas/prompt_mixer.git\n",
    "!git clone https://github.com/yownas/shift-attention.git\n",
    "!git clone https://github.com/yownas/sd-webui-lua.git\n",
    "!git clone https://github.com/guzuligo/CFG-Schedule-for-Automatic1111-SD.git\n",
    "!git clone https://github.com/KohakuBlueleaf/a1111-sd-webui-haku-img.git\n",
    "!git clone https://github.com/KohakuBlueleaf/z-a1111-sd-webui-dtg.git\n",
    "!git clone https://github.com/OedoSoldier/sd-webui-image-sequence-toolkit.git\n",
    "!git clone https://github.com/antis0007/sd-webui-multiple-hypernetworks.git\n",
    "!git clone https://github.com/antis0007/sd-webui-colorful-noise.git\n",
    "!git clone https://github.com/antis0007/sd-webui-gelbooru-prompt.git\n",
    "!git clone https://github.com/benkyoujouzu/stable-diffusion-webui-visualize-cross-attention-extension.git\n",
    "\n",
    "\n",
    "!git clone https://github.com/Zyin055/Config-Presets\n",
    "!git clone https://github.com/AIrjen/OneButtonPrompt.git\n",
    "!git clone https://github.com/Kahsolt/stable-diffusion-webui-prompt-travel.git\n",
    "!git clone https://github.com/pkuliyi2015/multidiffusion-img-demo.git\n",
    "!git clone https://github.com/udon-universe/stable-diffusion-webui-extension-templates.git\n",
    "!git clone https://github.com/lisanet/sdxl-webui-refiner-fixed.git\n",
    "!git clone https://github.com/osi1880vr/prompt_quill.git\n",
    "!git clone https://github.com/Siberpone/ponyverse.git\n",
    "!git clone https://github.com/Siberpone/lazy-pony-prompter\n",
    "!git clone https://github.com/Siberpone/pd-styles.git\n",
    "!git clone https://github.com/Siberpone/derpi-tac-a1111.git\n",
    "!git clone https://github.com/ZealousMagician/Ponymaster.git\n",
    "!git clone https://github.com/uwidev/sd_extension-prompt_formatter.git\n",
    "!git clone https://github.com/layerdiffusion/sd-forge-layerdiffuse.git\n",
    "!git clone https://github.com/ahgsql/StyleSelectorXL.git\n",
    "\n",
    "!git clone https://github.com/benkyoujouzu/stable-diffusion-webui-print-processed-prompt-extension.git\n",
    "#!git clone https://github.com/AlUlkesh/sd_search_model.git\n",
    "!git clone https://github.com/neggles/sd-webui-docker.git\n",
    "!git clone https://github.com/ahgsql/sd-outpainting-server.git\n",
    "!git clone https://github.com/space-nuko/sd-tagging-helper\n",
    "!git clone https://github.com/space-nuko/a1111-stable-diffusion-webui-randomizer-keywords\n",
    "#!git clone https://github.com/space-nuko/sd-promptbook\n",
    "\n",
    "\n",
    "!git clone https://github.com/Blu-Tiger/sd-webui-real-image-artifacts.git\n",
    "!git clone https://github.com/omniinfer/sd-webui-cloud-inference.git\n",
    "!git clone https://github.com/shirayu/sd-webui-enable-checker.git\n",
    "!git clone https://github.com/kenning/sd-webui-noise-color-picker.git\n",
    "!git clone https://github.com/nihedon/sd-webui-weight-helper.git\n",
    "!git clone https://github.com/light-and-ray/sd-webui-lama-cleaner-masked-content.git\n",
    "!git clone https://github.com/v0xie/sd-webui-agentattention.git\n",
    "!git clone https://github.com/rauldlnx10/sd-webui-promptmaker.git\n",
    "!git clone https://github.com/safubuki/sd-webui-latent-regional-helper.git\n",
    "#!git clone https://github.com/leeguandong/sd_webui_matting.git\n",
    "!git clone https://github.com/v0xie/sd-webui-semantic-guidance.git\n",
    "!git clone https://github.com/licyk/advanced_euler_sampler_extension.git\n",
    "!git clone https://github.com/licyk/sd-webui-tcd-sampler.git\n",
    "!git clone https://github.com/famotime/AIGC_helper.git\n",
    "!git clone https://github.com/SenshiSentou/sd-webui-cardmaster.git\n",
    "!git clone https://github.com/denfrost/sd-webui-img2txt.git\n",
    "!git clone https://github.com/123jimin/sd-webui-system-control\n",
    "!git clone https://github.com/123jimin/sd-prompt-parser.git\n",
    "!git clone https://github.com/Iniquitatis/sd-webui-temporal.git\n",
    "!git clone https://github.com/dvruette/sd-webui-fabric.git\n",
    "!git clone https://github.com/ogkalu2/Merge-Stable-Diffusion-models-without-distortion.git\n",
    "!git clone https://github.com/nochnoe/sd-webui-e621-prompt.git\n",
    "!git clone https://github.com/thundaga/SD-webui-txt2img-script.git\n",
    "!git clone https://github.com/tritant/sd-webui-creaprompt.git\n",
    "!git clone https://github.com/leeguandong/sd_webui_sghm.git\n",
    "\n",
    "!git clone https://github.com/grim-reapper/aci-sd-webui-civitai-models\n",
    "!git clone https://github.com/acorderob/sd-webui-prompt-postprocessor\n",
    "!git clone https://github.com/SirVeggie/extension-style-vars.git\n",
    "!git clone https://github.com/Tencent/LightDiffusionFlow.git\n",
    "!git clone https://github.com/groinge/sd-webui-clipreplacer.git\n",
    "!git clone https://github.com/groinge/sd-webui-untitledmerger\n",
    "!git clone https://github.com/Ma-Chang-an/sd-webui-python-module-install.git\n",
    "!git clone https://github.com/leeguandong/sd_webui_realtime_lcm_canvas\n",
    "!git clone https://github.com/rumangerst/sd-webui-sdxl-size-panel.git\n",
    "!git clone https://github.com/rumangerst/sd-webui-sdxl-styles-panel.git\n",
    "!git clone https://github.com/MirrorCY/sd-switch.git\n",
    "!git clone https://github.com/guinoise/sd-webui-generation-organizer.git\n",
    "!git clone https://github.com/wkpark/sd-webui-pnginfo-diff.git\n",
    "!git clone https://github.com/miamnh/sd-webui-model-downloader-cn\n",
    "!git clone https://github.com/ronghuaxueleng/sd-webui-prompt-templates.git\n",
    "!git clone https://github.com/Blastdav/sd-webui-e621-grabber.git\n",
    "!git clone https://github.com/junha-lee/sd-webui-crop-extension.git\n",
    "!git clone https://github.com/songweige/sd-webui-rich-text.git\n",
    "!git clone https://github.com/junha-lee/sd-webui-lineart-extension.git\n",
    "!git clone https://github.com/GreyManZA/sd-webui-upscale-extended.git\n",
    "!git clone https://github.com/n714/sd-webui-generate-button.git\n",
    "!git clone https://github.com/rocketgarden/sd-civitai-url-helper.git\n",
    "!git clone https://github.com/SuspiciousActivity/sd-webui-format-prompt.git\n",
    "!git clone https://github.com/rumor9999/sd-webui-split-prompt.git\n",
    "!git clone https://github.com/SuspiciousActivity/sd-webui-intersync.git\n",
    "!git clone https://github.com/S-Del/sd-webui-toggle-monospace-prompts.git\n",
    "!git clone https://github.com/ostris/sd-webui-middleware.git\n",
    "\n",
    "\n",
    "!git clone https://github.com/propapanda/sd-webui-global-prompts\n",
    "!git clone https://github.com/thomasasfk/sd-webui-aspect-ratio-helper.git\n",
    "!git clone https://github.com/marhensa/sd15-recommended-res-calc.git\n",
    "!git clone https://github.com/iiiytn1k/sd-webui-check-tensors.git\n",
    "!git clone https://github.com/marhensa/sdxl-recommended-res-calc\n",
    "!git clone https://github.com/marhensa/sd15-recommended-res-calc\n",
    "!git clone https://github.com/Extraltodeus/custom-sd-upscale.git\n",
    "!git clone https://github.com/Seshelle/diffusion-noise-alternatives-webui!git clone https://github.com/Seshelle/CFG_Rescale_webui\n",
    "!git clone https://github.com/Seshelle/CFG_Rescale_webui\n",
    "!git clone https://github.com/feffy380/prompt-morph.git\n",
    "!git clone https://github.com/veyDer/embedding-inspector.git\n",
    "!git clone https://github.com/KutsuyaYuki/ABG_extension.git\n",
    "!git clone https://github.com/zhouyi311/Prompts-From-File-v2-for-a111s-SD-webui.git\n",
    "!git clone https://github.com/zhouyi311/Prompts-From-File-v2-for-a111s-SD-webui.git\n",
    "!git clone https://github.com/apximax/sd-webui-resscaler.git\n",
    "!git clone https://github.com/Tsukreya/sd-webui-cfgs.git\n",
    "!git clone https://github.com/official-elinas/sd-webui-latent-script.git\n",
    "!git clone https://github.com/ClashSAN/unload-button.git\n",
    "#!git clone https://github.com/gogodr/sd-webui-stopmotion.git\n",
    "!git clone https://github.com/LonicaMewinsky/sd-webui-keyframer.git\n",
    "!git clone https://github.com/gogodr/AdverseCleanerExtension.git\n",
    "!git clone https://github.com/EugeoSynthesisThirtyTwo/prompt-interpolation-script-for-sd-webui.git\n",
    "''' add VAE here'''\n",
    "%cd -q ~/asd/models/VAE\n",
    "# %download https://huggingface.co/NoCrypt/resources/resolve/main/VAE/any.vae.safetensors any.vae.safetensors\n",
    "''' add Embeddings here'''\n",
    "%cd -q ~/asd/embeddings\n",
    "# %download URL"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "b50c0556-a8f7-4638-95c0-eb4049449679",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "  34f3d9|OK  |   417MiB/s|/home/studio-lab-user/asd/models/VAE/any.vae.safetensors\n"
     ]
    }
   ],
   "source": [
    "%cd -q ~/asd/models/VAE\n",
    "%download https://huggingface.co/NoCrypt/resources/resolve/main/VAE/any.vae.safetensors any.vae.safetensors"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "6910ec0c-b7fb-4054-8a9e-f2c105a3c546",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "...............................s......................\n",
      "----------------------------------------------------------------------\n",
      "Ran 54 tests in 3.907s\n",
      "\n",
      "OK (skipped=1)\n"
     ]
    }
   ],
   "source": [
    "!python -m unittest discover test"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "0a0d2b52-763f-4002-ad88-1d4d8fcfded9",
   "metadata": {
    "tags": []
   },
   "source": [
    "#### *Persistent*"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "a95d3607-519e-48ae-87e6-92e2e816dcf5",
   "metadata": {},
   "outputs": [],
   "source": [
    "''' Checkpoint '''\n",
    "%cd -q ~/asd/models/Stable-diffusion\n",
    "%download https://civitai.com/api/download/models/147913 meichidarkMixFp16_45.safetensors\n",
    "\n",
    "''' LoRA '''\n",
    "%cd -q ~/asd/models/Lora\n",
    "%download https://civitai.com/api/download/models/87153   add_detail.safetensors\n",
    "%download https://civitai.com/api/download/models/171989  detail_slider_v4.safetensors\n",
    "%download https://civitai.com/api/download/models/62833   Detail_Tweaker.safetensors\n",
    "%download https://civitai.com/api/download/models/86247   flat2.safetensors"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "06a39e28-17de-4954-b6bc-f22baed0f269",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "  [#5aeb70 10GiB/10GiB(99%) CN:15 DL:412MiB]                                    \n",
      "  5aeb70|OK  |   412MiB/s|/tmp/models/pornmasterAnime_v5.safetensors\n",
      "  [#384145 1.9GiB/1.9GiB(97%) CN:16 DL:412MiB]                                  \n",
      "  384145|OK  |   411MiB/s|/tmp/models/HotaruBreed_TypeE_v80.safetensors\n",
      "  [#20f6d7 1.9GiB/1.9GiB(97%) CN:16 DL:405MiB]                                  \n",
      "  20f6d7|OK  |   404MiB/s|/tmp/models/VividOrangeMix.safetensors\n"
     ]
    }
   ],
   "source": [
    "%tempe\n",
    "%cd -q ~/asd/models/Stable-diffusion/tmp_models\n",
    "#https://civitai.com/api/download/models/55199\n",
    "#!gdown \"https://huggingface.co/declun/pornmaster-animev4/resolve/main/pornmasterAnime_v4.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\"\n",
    "#!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v5.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/pornmasterAnime_v5.safetensors\"\n",
    "\n",
    "#!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/Mistoon_Pearl.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Pearl.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/348981\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Mistoon_Anime.safetensors\"\n",
    "#!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/archangelbreed_v60.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/archangelbreed_v60.safetensors\"\n",
    "#!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/autismmixSDXL_autismmixPony.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/autismmixSDXL_autismmixPony.safetensors\"\n",
    "\n",
    "\n",
    "#!gdown \"https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v4-inpainting.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/pornmasterAnime_v4-inpainting.safetensors\"\n",
    "#!gdown \"https://huggingface.co/cagliostrolab/animagine-xl-3.0/resolve/main/animagine-xl-3.0.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Animagine_XL_V3.safetensors\"\n",
    "#!gdown \"https://huggingface.co/declun/pornmaster-animev4/resolve/main/pornmasterAnime_v4.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/PornMaster-Anime.safetensors\" \"https://civitai.com/api/download/models/280908?type=Model&format=SafeTensor&size=full&fp=fp32\"\n",
    "#!gdown \"https://civitai.com/api/download/models/41233?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/anyhentai.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/158321?type=Model&format=SafeTensor&size=full&fp=fp32\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/HazyAbyss.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/144671?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Takeda Hiromitsu style.safetensors\"\n",
    "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/RaemuMix.safetensors\" \"https://civitai.com/api/download/models/294902\"\n",
    "\n",
    "#!gdown \"https://civitai.com/api/download/models/294902\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/RaemuMix.safetensors\"\n",
    "#!gdown \"https://huggingface.co/stb/animelike2d/resolve/main/animelike25D_animelike25DV11Pruned.safetensors\" -O \"animelike25D_animelike25DV11Pruned.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/221033?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vivid.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/46846?type=Model&format=SafeTensor&size=full&fp=fp32\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev.safetensors\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/yesmixV3.5.safetensors\" \"https://civitai.com/api/download/models/182252?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n",
    "#!gdown \"https://civitai.com/api/download/models/25571?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/yesmix16.safetensors\"\n",
    "#gdown https://civitai.com/models/9139?modelVersionId=182252 -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/yesmix35.safetensors\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Counterfeit-V3.0.safetensors\" \"https://huggingface.co/gsdf/Counterfeit-V3.0/resolve/main/Counterfeit-V3.0.safetensors\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/zedmix.safetensors\" \"https://civitai.com/api/download/models/121922?type=Model&format=SafeTensor&size=full&fp=fp16\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Based66-V3.safetensors\" \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based66-V3.safetensors\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hassaku XL (sfw&nsfw) betaAOM3B2_orangemixs.safetensors\" \"https://civitai.com/api/download/models/251889?type=Model&format=SafeTensor&size=pruned&fp=bf16\"\n",
    "#!gdown \"https://civitai.com/api/download/models/247131?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hentai Mix XL - Road to freedom.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/232266?type=Model&format=SafeTensor&size=pruned&fp=fp32\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hardcore - Hentai.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/29173?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Грейпфрут (хентай-модель).safetensors\"\n",
    "#!gdown \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_hard.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AbyssOrangeMix2_hard.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/6087?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Котосмикс.safetensors\"\n",
    "#!gdown \"https://huggingface.co/X779/Anything_ink/resolve/main/Anything-ink.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Anything-ink.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/5581?type=Model&format=PickleTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/anuthinkv4.safetensors\"\n",
    "\n",
    "\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vivid_nsfw.safetensors\" \"https://civitai.com/api/download/models/251011?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vivid_hard.safetensors\" \"https://civitai.com/api/download/models/251053?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n",
    "#!gdown \"https://civitai.com/api/download/models/83109?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/cartoon.safetensors\"\n",
    "  \n",
    "\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hassaku (hentai model).safetensors\" \"https://civitai.com/api/download/models/106922?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n",
    "#!gdown \"https://civitai.com/api/download/models/206386?type=Model&format=SafeTensor&size=full&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hentai mix.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/49339\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Hentai17.safetensors\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AOM3B2_orangemixs.safetensors\" \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3B2_orangemixs.safetensors\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AOM3B4_orangemixs.safetensors\" \"https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3B4_orangemixs.safetensors\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Corneo's 7th Heaven Mix.safetensors\" \"https://civitai.com/api/download/models/6878?type=Model&format=SafeTensor&size=full&fp=fp16\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/AnyLoRA - Checkpoint.safetensors\" \"https://civitai.com/api/download/models/95489?type=Model&format=SafeTensor&size=full&fp=fp16\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev.safetensors\" \"https://civitai.com/api/download/models/46846?type=Model&format=SafeTensor&size=full&fp=fp32\"\n",
    "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/YesMix.safetensors\" \"https://civitai.com/api/download/models/182252?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n",
    "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/【Checkpoint】YesMix.safetensors\" \"https://civitai.com/api/download/models/25571?type=Model&format=SafeTensor&size=full&fp=fp16\"\n",
    "#!gdown \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based66-V3.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Based66-V3.safetensors\"\n",
    "\n",
    "#!gdown \"https://civitai.com/api/download/models/119057?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/meina.safetensors\"\n",
    "#!gdown \"https://huggingface.co/model5675/vividorangemix_v10_1/resolve/main/vividorangemix_v10Hard.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vividorangemix_v10Hard.safetensors\"\n",
    "#!gdown \"https://huggingface.co/model5675/vividorangemix_v10_1/resolve/main/vividorangemix_v10NSFW.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/vividorangemix_v10NSFW.safetensors\"\n",
    "#!gdown \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based68-V2.safetensors\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/Based68-V22.safetensors\"\n",
    "#!curl -Lo \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/cartoon.safetensors\" \"https://civitai.com/api/download/models/83109?type=Model&format=SafeTensor&size=full&fp=fp16\"\n",
    "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev707.safetensors\" \"https://civitai.com/api/download/models/247262?type=Model&format=SafeTensor&size=pruned&fp=fp16\"\n",
    "#!gdown \"https://civitai.com/api/download/models/247262?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev703.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/180346?type=Model&format=SafeTensor&size=pruned&fp=fp16\" -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev.safetensors\"\n",
    "\n",
    "%download https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v5.safetensors\n",
    "%download https://huggingface.co/JujoHotaru/HotaruBreed/resolve/main/model/HotaruBreed_TypeE_v80.safetensors\n",
    "#%download https://huggingface.co/JujoHotaru/CartoonBreed/resolve/main/model/CartoonBreed_v10A.safetensors\n",
    "\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/archangelbreed_v60.safetensors archangelbreed_v60.safetensors\n",
    "#%download https://huggingface.co/JujoHotaru/HotaruBreed/resolve/main/model/HotaruBreed_CuteMix_TypeD_v70.safetensors HotaruBreed_CuteMix_TypeD_v70.safetensors\n",
    "#%download https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/VividOrangeMix/VividOrangeMix.safetensors VividOrangeMix.safetensors\n",
    "#%download https://civitai.com/api/download/models/336110 Based69.safetensors\n",
    "#!gdown \"https://huggingface.co/AnonymousM/Based-mixes/resolve/main/Based66-V3.safetensors\" -O \"/home/studio-lab-user/asd/models/Stable-diffusion/tmp_models/Based66-V3.safetensors\"\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v5.safetensors pornmasterAnime_v5.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/autismmixSDXL_autismmixPony.safetensors autismmixSDXL_autismmixPony.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/Mistoon_Pearl.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/archangelbreed_v60.safetensors archangelbreed_v60.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v5-inpainting.safetensors pornmasterAnime_v5-inpainting.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/pornmasterAnime_v3.safetensors pornmasterAnime_v3.safetensors\n",
    "#%download https://civitai.com/api/download/models/29645 Dark_Sushi_Mix_darker.safetensors\n",
    "#%download https://civitai.com/api/download/models/32465 Dark_Sushi_Mix_bright.safetensors\n",
    "#%download https://huggingface.co/gsdf/Counterfeit-V3.0/resolve/main/Counterfeit-V3.0.safetensors Counterfeit-V3.0.safetensors\n",
    "#!gdown \"https://civitai.com/api/download/models/29645\" -O \"/home/studio-lab-user/asd/models/Stable-diffusion/tmp_models/Dark_Sushi_Mix_darker.safetensors\"\n",
    "#!gdown \"https://civitai.com/api/download/models/32465\" -O \"/home/studio-lab-user/asd/models/Stable-diffusion/tmp_models/Dark_Sushi_Mix_bright.safetensors\"\n",
    "#!gdown \"https://huggingface.co/stb/animelike2d/resolve/main/animelike25D_animelike25DV11Pruned.safetensors\" -O \"animelike25D_animelike25DV11Pruned.safetensors\"\n",
    "\n",
    "\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/table-diffusion/mistoonEmerald_v30.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/table-diffusion/mistoonObsidian_v10.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/table-diffusion/mistoonRuby_v30.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/mistoonAnime_v30/mistoonAnime_v30.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/mistoonSapphire_v20.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/ble-diffusion/mistoonJade_v10Anime.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/Stable-diffusion/mistoonAmethyst_v20.safetensors\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/Stable-diffusion/mistoonDiamond_v10.safetensors\n",
    "\n",
    "\n",
    "#%download https://huggingface.co/DrBob2142/Midnight_Mixes/resolve/main/Midnight%20Maple.safetensors\n",
    "#%download https://huggingface.co/DrBob2142/Midnight_Mixes/resolve/main/Midnight%20Mixer%20Melt.safetensors\n",
    "#%download https://huggingface.co/DrBob2142/Midnight_Mixes/resolve/main/Midnight%20Melt.safetensors\n",
    "\n",
    "#%download https://huggingface.co/dikdimon/sac/resolve/main/gzzdx_v10/gzzdx_v10.safetensors\n",
    "%download https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/VividOrangeMix/VividOrangeMix.safetensors\n",
    "#%download https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/VividOrangeMix/VividOrengeMix_Hard.safetensors\n",
    "#%download https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/VividOrangeMix/VividOrengeMix_NSFW.safetensors\n",
    "#!wget -O \"/home/studio-lab-user/stable-diffusion-webui/models/Stable-diffusion/tmp_models/rev707.safetensors\" \"https://civitai.com/api/download/models/247262?type=Model&format=SafeTensor&size=pruned&fp=fp16\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "6405ead1-4ce0-46f8-92c1-0237f20b1d3c",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "  [#075064 58MiB/128MiB(45%) CN:16 DL:118MiB]                                   \n",
      "  075064|OK  |   130MiB/s|/tmp/Lora/LCM_LoRA_Weights_SD15.safetensors\n"
     ]
    }
   ],
   "source": [
    "''' LoRa '''\n",
    "%tempe\n",
    "%cd -q ~/asd/models/Lora/tmp_Lora\n",
    "%download https://civitai.com/api/download/models/159707\n",
    "%download https://civitai.com/api/download/models/273996\n",
    "%download https://civitai.com/api/download/models/269377\n",
    "%download https://civitai.com/api/download/models/273993\n",
    "%download https://civitai.com/api/download/models/146600\n",
    "%download https://civitai.com/api/download/models/161366\n",
    "%download https://civitai.com/api/download/models/255800\n",
    "%download https://civitai.com/api/download/models/227997\n",
    "%download https://civitai.com/api/download/models/290009\n",
    "%download https://civitai.com/api/download/models/55199\n",
    "%download https://civitai.com/api/download/models/53396\n",
    "%download https://civitai.com/api/download/models/52550\n",
    "%download https://civitai.com/api/download/models/136319\n",
    "%download https://civitai.com/api/download/models/190406\n",
    "%download https://civitai.com/api/download/models/19135\n",
    "%download https://civitai.com/api/download/models/274543\n",
    "%download https://civitai.com/api/download/models/25848\n",
    "%download https://civitai.com/api/download/models/7431\n",
    "%download https://civitai.com/api/download/models/7427\n",
    "%download https://civitai.com/api/download/models/7428\n",
    "%download https://civitai.com/api/download/models/60568\n",
    "%download https://civitai.com/api/download/models/94841\n",
    "%download https://civitai.com/api/download/models/106626\n",
    "%download https://civitai.com/api/download/models/121842\n",
    "%download https://civitai.com/api/download/models/123272\n",
    "%download https://civitai.com/api/download/models/137901\n",
    "%download https://civitai.com/api/download/models/244925\n",
    "%download https://civitai.com/api/download/models/338661\n",
    "%download https://civitai.com/api/download/models/334075\n",
    "%download https://civitai.com/api/download/models/194009\n",
    "%download https://civitai.com/api/download/models/230295\n",
    "%download https://civitai.com/api/download/models/221136\n",
    "%download https://civitai.com/api/download/models/193881\n",
    "%download https://civitai.com/api/download/models/161013\n",
    "%download https://civitai.com/api/download/models/191797\n",
    "%download https://civitai.com/api/download/models/159862\n",
    "%download https://civitai.com/api/download/models/156283\n",
    "%download https://civitai.com/api/download/models/155278\n",
    "%download https://civitai.com/api/download/models/23250\n",
    "%download https://civitai.com/api/download/models/163324\n",
    "%download https://civitai.com/api/download/models/89519\n",
    "%download https://civitai.com/api/download/models/446036\n",
    "%download https://civitai.com/api/download/models/441480\n",
    "%download https://civitai.com/api/download/models/383113\n",
    "%download https://civitai.com/api/download/models/336421\n",
    "%download https://civitai.com/api/download/models/452239\n",
    "%download https://civitai.com/api/download/models/454378\n",
    "%download https://civitai.com/api/download/models/478963\n",
    "%download https://civitai.com/api/download/models/424706"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "97a30db0-b81c-40df-b1a2-7ad942984193",
   "metadata": {},
   "outputs": [],
   "source": [
    "''' LoRa '''\n",
    "%tempe\n",
    "%cd -q ~/asd/models/Lora/tmp_Lora\n",
    "%download https://civitai.com/api/download/models/454523\n",
    "%download https://civitai.com/api/download/models/448745\n",
    "%download https://civitai.com/api/download/models/448977\n",
    "%download https://civitai.com/api/download/models/311797\n",
    "%download https://civitai.com/api/download/models/338262\n",
    "%download https://civitai.com/api/download/models/145907\n",
    "%download https://civitai.com/api/download/models/326346"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "76417845-1a86-42f4-a7a1-93ff028fcba0",
   "metadata": {},
   "outputs": [],
   "source": [
    "''' LoRa '''\n",
    "%tempe\n",
    "%cd -q ~/asd/models/Lora/tmp_Lora\n",
    "%download https://civitai.com/api/download/models/273996\n",
    "%download https://civitai.com/api/download/models/268054\n",
    "%download https://civitai.com/api/download/models/269354\n",
    "%download https://civitai.com/api/download/models/288679\n",
    "%download https://civitai.com/api/download/models/334039\n",
    "%download https://huggingface.co/Linaqruf/style-enhancer-xl-lora/resolve/main/style-enhancer-xl.safetensors style-enhancer-xl.safetensors\n",
    "%download https://huggingface.co/Linaqruf/anime-detailer-xl-lora/resolve/main/anime-detailer-xl.safetensors anime-detailer-xl.safetensors\n",
    "%download https://civitai.com/api/download/models/344107\n",
    "%download https://civitai.com/api/download/models/338262\n",
    "%download https://civitai.com/api/download/models/342682\n",
    "%download https://civitai.com/api/download/models/374928\n",
    "%download https://civitai.com/api/download/models/387127\n",
    "%download https://civitai.com/api/download/models/368206\n",
    "%download https://civitai.com/api/download/models/402062 \n",
    "%download https://civitai.com/api/download/models/404516 \n",
    "%download https://civitai.com/api/download/models/254267\n",
    "%download https://civitai.com/api/download/models/137954\n",
    "%download https://civitai.com/api/download/models/359035\n",
    "%download https://civitai.com/api/download/models/374178\n",
    "%download https://civitai.com/api/download/models/364350\n",
    "%download https://civitai.com/api/download/models/383010\n",
    "%download https://civitai.com/api/download/models/371955\n",
    "%download https://civitai.com/api/download/models/311797\n",
    "%download https://civitai.com/api/download/models/380600\n",
    "%download https://civitai.com/api/download/models/317358\n",
    "%download https://civitai.com/api/download/models/454688\n",
    "%download https://civitai.com/api/download/models/378138\n",
    "%download https://civitai.com/api/download/models/382152\n",
    "%download https://civitai.com/api/download/models/454688\n",
    "%download https://civitai.com/api/download/models/273996\n",
    "%download https://civitai.com/api/download/models/242807\n",
    "%download https://civitai.com/api/download/models/334039\n",
    "%download https://civitai.com/api/download/models/338262\n",
    "%download https://civitai.com/api/download/models/367798\n",
    "%download https://civitai.com/api/download/models/135867\n",
    "%download https://civitai.com/api/download/models/145907\n",
    "%download https://civitai.com/api/download/models/448745\n",
    "%download https://civitai.com/api/download/models/326346\n",
    "%download https://civitai.com/api/download/models/447576\n",
    "%download https://civitai.com/api/download/models/363353\n",
    "%download https://civitai.com/api/download/models/438890\n",
    "%download https://civitai.com/api/download/models/434481\n",
    "%download https://civitai.com/api/download/models/365369\n",
    "%download https://civitai.com/api/download/models/407574\n",
    "%download https://civitai.com/api/download/models/246905\n",
    "%download https://civitai.com/api/download/models/140157\n",
    "%download https://civitai.com/api/download/models/137954\n",
    "%download https://civitai.com/api/download/models/344107\n",
    "%download https://civitai.com/api/download/models/288679\n",
    "%download https://civitai.com/api/download/models/152309\n",
    "%download https://civitai.com/api/download/models/424720\n",
    "%download https://civitai.com/api/download/models/438998\n",
    "%download https://civitai.com/api/download/models/448977\n",
    "%download https://civitai.com/api/download/models/454523\n",
    "%download https://civitai.com/api/download/models/402659\n",
    "%download https://civitai.com/api/download/models/417698\n",
    "%download https://civitai.com/api/download/models/441487\n",
    "%download https://civitai.com/api/download/models/293773\n",
    "%download https://civitai.com/api/download/models/402659\n",
    "%download https://civitai.com/api/download/models/356173\n",
    "%download https://civitai.com/api/download/models/319831"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "97a1c3a2-cba9-4bb5-9a57-c7f72be17166",
   "metadata": {},
   "outputs": [],
   "source": [
    "%cd /tmp\n",
    "!wget https://github.com/openziti/zrok/releases/download/v0.4.23/zrok_0.4.23_linux_amd64.tar.gz\n",
    "!mkdir /tmp/zrok\n",
    "!tar -xf ./zrok*linux*.tar.gz -C /tmp/zrok\n",
    "!mkdir -p /tmp/zrok/bin && install /tmp/zrok/zrok /tmp/zrok/bin\n",
    "import os\n",
    "os.environ['PATH'] = \"/tmp/zrok/bin:\" + os.environ['PATH']\n",
    "!zrok enable <D2p4c9sDUe5O>"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "06af74c9-f25b-4116-aee2-ab025ce31bd1",
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "os.environ['PATH'] = \"/tmp/zrok/bin:\" + os.environ['PATH']\n",
    "!zrok enable <unoVaKYezHAC>"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "26452e55-03b1-48a3-a18f-d2a2c5a63d84",
   "metadata": {
    "tags": []
   },
   "source": [
    "#### *Temporary*"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "f8a8e5bc-ebd3-41e5-a1ca-00037a623cd5",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "''' Controlnet models '''\n",
    "%run ~/asd/asd/controlnet.py"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "07448e32-6837-44db-bef3-4dd8217e538e",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "''' Checkpoint '''\n",
    "%tempe\n",
    "%cd -q ~/asd/models/Stable-diffusion/tmp_models\n",
    "%download https://civitai.com/api/download/models/357609 Juggernaut-XL_V9-RDPhoto2-Lightning_4S.safetensors\n",
    "\n",
    "''' LoRa '''\n",
    "%cd -q ~/asd/models/Lora/tmp_Lora\n",
    "%download https://huggingface.co/Linaqruf/style-enhancer-xl-lora/resolve/main/style-enhancer-xl.safetensors style-enhancer-xl.safetensors\n",
    "%download https://huggingface.co/Linaqruf/anime-detailer-xl-lora/resolve/main/anime-detailer-xl.safetensors anime-detailer-xl.safetensors"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b4b19ba2-ae2b-481b-9b39-be6eac7a0f77",
   "metadata": {
    "tags": []
   },
   "source": [
    "## WEB UI"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "4cffd230-2fd0-49b2-a91d-eb5b826be801",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Python 3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0]\n",
      "Version: 1.9.3\n",
      "Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0\n",
      "\n",
      "◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼\n",
      "[ZROK] environment already enabled.\n",
      "[ZROK] https://drng864pc2aj.share.zrok.io\n",
      "◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼\n",
      "\n",
      "Installing install \"opencv-python>=4.7.0.68\" for sd-webui-prompt-templates\n",
      "Installing pyyaml-include for Infinity Grid Script\n",
      "CUDA 12.1\n",
      "Installing installing requirements for sd-webui-system-control\n",
      "Installing requirements for sd-webui-cloud-inference\n",
      "loading Promptbook reqs from /home/studio-lab-user/asd/extensions/sd-promptbook/requirements.txt\n",
      "Checking Promptbook requirements.\n",
      "Launching Web UI with arguments: --allow-code --xformers --enable-insecure-extension-access --disable-console-progressbars --theme dark\n",
      "2024-05-08 11:18:24.151584: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n",
      "2024-05-08 11:18:24.151622: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n",
      "2024-05-08 11:18:24.152727: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n",
      "2024-05-08 11:18:25.146061: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n",
      "11:18:29 - ReActor - \u001b[38;5;173mSTATUS\u001b[0m - Running v0.7.0-b7 on Device: CUDA\n",
      "\u001b[1m[\u001b[0m-\u001b[1m]\u001b[0m ADetailer initialized. version: \u001b[1;36m24.4\u001b[0m.\u001b[1;36m2\u001b[0m, num models: \u001b[1;36m10\u001b[0m\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Aria2 RPC started\n",
      "\u001b[38;5;173m▶\u001b[0m Fast PNG Info\n",
      "*** Error loading script: forge_layerdiffusion.py\n",
      "    Traceback (most recent call last):\n",
      "      File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n",
      "        script_module = script_loading.load_module(scriptfile.path)\n",
      "      File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, in load_module\n",
      "        module_spec.loader.exec_module(module)\n",
      "      File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n",
      "      File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-forge-layerdiffuse/scripts/forge_layerdiffusion.py\", line 11, in <module>\n",
      "        from lib_layerdiffusion.utils import rgba2rgbfp32, to255unit8, crop_and_resize_image, forge_clip_encode\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-forge-layerdiffuse/lib_layerdiffusion/utils.py\", line 3, in <module>\n",
      "        from ldm_patched.modules import model_management\n",
      "    ModuleNotFoundError: No module named 'ldm_patched'\n",
      "\n",
      "---\n",
      "*** Error loading script: forge_layerdiffusion.py\n",
      "    Traceback (most recent call last):\n",
      "      File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n",
      "        script_module = script_loading.load_module(scriptfile.path)\n",
      "      File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, in load_module\n",
      "        module_spec.loader.exec_module(module)\n",
      "      File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n",
      "      File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-forge-layerdiffusion/scripts/forge_layerdiffusion.py\", line 14, in <module>\n",
      "        from ldm_patched.modules.utils import load_torch_file\n",
      "    ModuleNotFoundError: No module named 'ldm_patched'\n",
      "\n",
      "---\n",
      "▶ SD-Hub: v2.0.2\n",
      "*** Error loading script: promptbook.py\n",
      "    Traceback (most recent call last):\n",
      "      File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n",
      "        script_module = script_loading.load_module(scriptfile.path)\n",
      "      File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, in load_module\n",
      "        module_spec.loader.exec_module(module)\n",
      "      File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n",
      "      File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-promptbook/scripts/promptbook.py\", line 825, in <module>\n",
      "        from fonts.ttf import Roboto\n",
      "    ModuleNotFoundError: No module named 'fonts'\n",
      "\n",
      "---\n",
      "Using sqlite file: /home/studio-lab-user/asd/extensions/sd-webui-agent-scheduler/task_scheduler.sqlite3\n",
      "Checkpoint tmp_models/VividOrangeMix.safetensors [ff4725f91c] not found; loading fallback v1-5-pruned-emaonly.safetensors [6ce0161689]\n",
      "Loading weights [6ce0161689] from /home/studio-lab-user/asd/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors\n",
      "Creating model from config: /home/studio-lab-user/asd/configs/v1-inference.yaml\n",
      "^C\n"
     ]
    }
   ],
   "source": [
    "token = \"unoVaKYezHAC\"\n",
    "\n",
    "%cd -q ~/asd\n",
    "!python zrun.py {token} --allow-code --xformers --enable-insecure-extension-access --disable-console-progressbars --theme dark"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b201e749-2765-4c3c-8663-8134916c1b2e",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Python 3.10.12 (main, Jul  5 2023, 18:54:27) [GCC 11.2.0]\n",
      "Version: 1.9.3\n",
      "Commit hash: 1c0a0c4c26f78c32095ebc7f8af82f5c04fca8c0\n",
      "Installing install \"opencv-python>=4.7.0.68\" for sd-webui-prompt-templates\n",
      "Installing pyyaml-include for Infinity Grid Script\n",
      "CUDA 12.1\n",
      "Installing installing requirements for sd-webui-system-control\n",
      "Installing requirements for sd-webui-cloud-inference\n",
      "Launching Web UI with arguments: --allow-code --ngrok 2bjRvTCeUWnDa0M8alUIJbMGO5P_71tUXiFHi5ssnBaEuRCJC --xformers --enable-insecure-extension-access --disable-console-progressbars --theme dark --theme dark --gradio-allowed-path /home --gradio-queue --disable-safe-unpickle\n",
      "2024-05-08 17:54:39.813542: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n",
      "2024-05-08 17:54:39.813612: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n",
      "2024-05-08 17:54:39.933237: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n",
      "2024-05-08 17:54:42.129278: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n",
      "ngrok authtoken detected, trying to connect...\n",
      "ngrok connected to localhost:7860! URL: https://445f-3-136-172-40.ngrok-free.app\n",
      "You can use this link after the launch is complete.\n",
      "17:54:51 - ReActor - \u001b[38;5;173mSTATUS\u001b[0m - Running v0.7.0-b7 on Device: CUDA\n",
      "\u001b[1m[\u001b[0m-\u001b[1m]\u001b[0m ADetailer initialized. version: \u001b[1;36m24.4\u001b[0m.\u001b[1;36m2\u001b[0m, num models: \u001b[1;36m14\u001b[0m\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Aria2 RPC started\n",
      "\u001b[38;5;173m▶\u001b[0m Fast PNG Info\n",
      "*** Error loading script: forge_layerdiffusion.py\n",
      "    Traceback (most recent call last):\n",
      "      File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n",
      "        script_module = script_loading.load_module(scriptfile.path)\n",
      "      File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, in load_module\n",
      "        module_spec.loader.exec_module(module)\n",
      "      File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n",
      "      File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-forge-layerdiffuse/scripts/forge_layerdiffusion.py\", line 11, in <module>\n",
      "        from lib_layerdiffusion.utils import rgba2rgbfp32, to255unit8, crop_and_resize_image, forge_clip_encode\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-forge-layerdiffuse/lib_layerdiffusion/utils.py\", line 3, in <module>\n",
      "        from ldm_patched.modules import model_management\n",
      "    ModuleNotFoundError: No module named 'ldm_patched'\n",
      "\n",
      "---\n",
      "*** Error loading script: forge_layerdiffusion.py\n",
      "    Traceback (most recent call last):\n",
      "      File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n",
      "        script_module = script_loading.load_module(scriptfile.path)\n",
      "      File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, in load_module\n",
      "        module_spec.loader.exec_module(module)\n",
      "      File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n",
      "      File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-forge-layerdiffusion/scripts/forge_layerdiffusion.py\", line 14, in <module>\n",
      "        from ldm_patched.modules.utils import load_torch_file\n",
      "    ModuleNotFoundError: No module named 'ldm_patched'\n",
      "\n",
      "---\n",
      "▶ SD-Hub: v2.0.2\n",
      "Using sqlite file: /home/studio-lab-user/asd/extensions/sd-webui-agent-scheduler/task_scheduler.sqlite3\n",
      "Loading weights [2ef1725cf3] from /home/studio-lab-user/asd/models/Stable-diffusion/tmp_models/pornmasterAnime_v5.safetensors\n",
      "Creating model from config: /home/studio-lab-user/asd/configs/v1-inference.yaml\n",
      "Couldn't find VAE named vae-ft-mse-840000-ema-pruned.safetensors; using None instead\n",
      "Model loaded in 37.7s (load weights from disk: 1.0s, create model: 0.5s, apply weights to model: 35.3s, load textual inversion embeddings: 0.5s, calculate empty prompt: 0.3s).\n",
      "[cloud-inference] reloading modules.api.api\n",
      "[cloud-inference] reloading modules.img2img\n",
      "[cloud-inference] reloading advanced_loopback.py - processing\n",
      "[cloud-inference] reloading advanced_loopback_blend.py - processing\n",
      "[cloud-inference] reloading img2imgalt.py - processing\n",
      "[cloud-inference] reloading loopback.py - processing\n",
      "[cloud-inference] reloading outpainting_mk_2.py - process_images\n",
      "[cloud-inference] reloading poor_mans_outpainting.py - process_images\n",
      "[cloud-inference] reloading process_png_metadata.py - process_images\n",
      "[cloud-inference] reloading process_png_metadata.py - processing\n",
      "[cloud-inference] reloading prompt_interpolation.py - process_images\n",
      "[cloud-inference] reloading prompt_matrix.py - process_images\n",
      "[cloud-inference] reloading prompt_morph.py - process_images\n",
      "[cloud-inference] reloading prompt_morph.py - processing\n",
      "[cloud-inference] reloading prompts_from_file.py - process_images\n",
      "[cloud-inference] reloading quick_upscale.py - process_images\n",
      "[cloud-inference] reloading sd_upscale.py - processing\n",
      "[cloud-inference] reloading xyz_grid.py - process_images\n",
      "[cloud-inference] reloading xyz_grid.py - processing\n",
      "[cloud-inference] reloading !adetailer.py - process_images\n",
      "[cloud-inference] reloading app.py - process_images\n",
      "[cloud-inference] reloading denoise.py - process_images\n",
      "[cloud-inference] reloading CFG Auto.py - process_images\n",
      "[cloud-inference] reloading CFG Auto.py - processing\n",
      "[cloud-inference] reloading CFG Schedule.py - process_images\n",
      "[cloud-inference] reloading CFG Schedule.py - processing\n",
      "[cloud-inference] reloading CFGRescale.py - processing\n",
      "[cloud-inference] reloading onebuttonprompt.py - process_images\n",
      "[cloud-inference] reloading batchCheckpointsPrompt.py - process_images\n",
      "[cloud-inference] reloading batchCheckpointsPrompt.py - processing\n",
      "[cloud-inference] reloading latent_mirroring.py - processing\n",
      "[cloud-inference] reloading keywords.py - processing\n",
      "[cloud-inference] reloading advanced_loopback.py - processing\n",
      "[cloud-inference] reloading advanced_loopback_blend.py - processing\n",
      "[cloud-inference] reloading quick_upscale.py - process_images\n",
      "[cloud-inference] reloading custom_hires_fix.py - processing\n",
      "[cloud-inference] reloading tilediffusion.py - processing\n",
      "[cloud-inference] reloading tileglobal.py - processing\n",
      "[cloud-inference] reloading prompt_morph.py - process_images\n",
      "[cloud-inference] reloading prompt_morph.py - processing\n",
      "[cloud-inference] reloading prompt_mixer.py - process_images\n",
      "[cloud-inference] reloading infinity_grid.py - process_images\n",
      "[cloud-inference] reloading infinity_grid.py - processing\n",
      "[cloud-inference] reloading lora_queue.py - process_images\n",
      "[cloud-inference] reloading alpha_mask.py - processing\n",
      "[cloud-inference] reloading main.py - processing\n",
      "[cloud-inference] reloading gui.py - processing\n",
      "[cloud-inference] hijack modules.processing.process_images, old: <modules.processing.process_images>, new: <scripts.hijack._hijack_process_images>\n",
      "[cloud-inference] hijack modules.postprocessing.run_postprocessing, old: <modules.postprocessing.run_postprocessing>, new: <scripts.hijack._hijack_run_postprocessing>\n",
      "[cloud-inference] hijack xyz_grid\n",
      "Loading extension: sd-webui-cloud-inference\n",
      "ControlNet preprocessor location: /home/studio-lab-user/asd/extensions/sd-webui-controlnet/annotator/downloads\n",
      "2024-05-08 17:55:35,471 - ControlNet - \u001b[0;32mINFO\u001b[0m - ControlNet v1.1.448\n",
      "Loading FABRIC v0.6.6\n",
      "[sd-webui-freeu] Controlnet support: *enabled*\n",
      "[sdwi2iextender] \u001b[0;33mDevelopper warning:\u001b[0m\n",
      "[sdwi2iextender] \u001b[0;33m./modules/img2img.py is being recompiled at run time with a patch. Your debugger will not work in this file.\u001b[0m\n",
      "[sdwi2iextender] \u001b[0;33mIf you need debug tools in this file, disable all extensions that use the sdwi2iextender library.\u001b[0m\n",
      "[sdwi2iextender] \u001b[0;33mThis patch is temporary and will be removed when v1.9 will be released.\u001b[0m\n",
      "*** Error loading script: lora_uc_script.py\n",
      "    Traceback (most recent call last):\n",
      "      File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n",
      "        script_module = script_loading.load_module(scriptfile.path)\n",
      "      File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, in load_module\n",
      "        module_spec.loader.exec_module(module)\n",
      "      File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n",
      "      File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-webui-lora-uc/scripts/lora_uc_script.py\", line 63, in <module>\n",
      "        _lora.lora_reset_cached_weight_before_uc = _lora.lora_reset_cached_weight\n",
      "    AttributeError: module 'lora' has no attribute 'lora_reset_cached_weight'\n",
      "\n",
      "---\n",
      "Hypernetwork-MonkeyPatch-Extension not found\n",
      "没有发现配置文件: /home/studio-lab-user/asd/extensions/sd-webui-prompt-templates/prompt_translator.cfg\n",
      "MarianMT model_path: /home/studio-lab-user/asd/extensions/sd-webui-prompt-templates/models/Helsinki-NLP/opus-mt-en-zh\n",
      "Get tokenizer\n",
      "Load Model\n",
      "*** Error loading script: load_Seniorious.py\n",
      "    Traceback (most recent call last):\n",
      "      File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n",
      "        script_module = script_loading.load_module(scriptfile.path)\n",
      "      File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, in load_module\n",
      "        module_spec.loader.exec_module(module)\n",
      "      File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n",
      "      File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-webui-samplers-scheduler/scripts/load_Seniorious.py\", line 20, in <module>\n",
      "        raise RuntimeError(f\"Unsupported WebUI Version\")\n",
      "    RuntimeError: Unsupported WebUI Version\n",
      "\n",
      "---\n",
      "[i] Loaded 26 resolutions!\n",
      "[i] Updating SDXL styles from storage ...\n",
      "[i] Reading SDXL styles from sdxl_styles_diva.json ...\n",
      "[i] Reading SDXL styles from sdxl_styles_fooocus.json ...\n",
      "[i] Reading SDXL styles from sdxl_styles_mre.json ...\n",
      "[i] Reading SDXL styles from sdxl_styles_sai.json ...\n",
      "[i] Reading SDXL styles from sdxl_styles_twri.json ...\n",
      "[i] Loaded 213 styles!\n",
      "*** Error loading script: TODO.py\n",
      "    Traceback (most recent call last):\n",
      "      File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n",
      "        script_module = script_loading.load_module(scriptfile.path)\n",
      "      File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, in load_module\n",
      "        module_spec.loader.exec_module(module)\n",
      "      File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n",
      "      File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-webui-todo/scripts/TODO.py\", line 123, in <module>\n",
      "        on_ui_settings(ext_on_ui_settings)\n",
      "    NameError: name 'on_ui_settings' is not defined\n",
      "\n",
      "---\n",
      "*** Error loading script: untitled_ui.py\n",
      "    Traceback (most recent call last):\n",
      "      File \"/home/studio-lab-user/asd/modules/scripts.py\", line 508, in load_scripts\n",
      "        script_module = script_loading.load_module(scriptfile.path)\n",
      "      File \"/home/studio-lab-user/asd/modules/script_loading.py\", line 13, in load_module\n",
      "        module_spec.loader.exec_module(module)\n",
      "      File \"<frozen importlib._bootstrap_external>\", line 883, in exec_module\n",
      "      File \"<frozen importlib._bootstrap>\", line 241, in _call_with_frames_removed\n",
      "      File \"/home/studio-lab-user/asd/extensions/sd-webui-untitledmerger/scripts/untitled_ui.py\", line 6, in <module>\n",
      "        from modules.ui import create_sampler_and_steps_selection\n",
      "    ImportError: cannot import name 'create_sampler_and_steps_selection' from 'modules.ui' (/home/studio-lab-user/asd/modules/ui.py)\n",
      "\n",
      "---\n",
      "[Vec. CC] Style Sheet Loaded...\n",
      "Model already exists\n",
      "[ControlNet-Travel] extension Mikubill/sd-webui-controlnet found, ControlNet-Travel loaded :)\n",
      "Applying attention optimization: xformers... done.\n",
      "2024-05-08 17:55:58,434 - ControlNet - \u001b[0;32mINFO\u001b[0m - ControlNet UI callback registered.\n",
      "add tab\n",
      "[([button, button, button, button, button], button, gallery), ([button, button, button, button, button], button, gallery)]\n",
      "Civitai Model: use civitai api key: True\n",
      "Running on local URL:  http://127.0.0.1:7860\n",
      "\n",
      "To create a public link, set `share=True` in `launch()`.\n",
      "[RandomizerKeywords] Supported keywords: clip_skip, cfg_scale, seed, subseed, subseed_strength, sampler_name, steps, width, height, tiling, restore_faces, s_churn, s_tmin, s_tmax, s_noise, eta, ddim_discretize, denoising_strength, hr_scale, hr_upscaler, hr_second_pass_steps, hr_resize_x, hr_resize_y, mask_blur, inpainting_mask_weight, checkpoint, vae\n",
      "[cloud-inference] reloading controlnet.py - global_state\n",
      "[cloud-inference] hijack extensions.sd-webui-controlnet.scripts.global_state.update_cn_models, old: <scripts.global_state.update_cn_models>, new: <scripts.hijack._hijack_update_cn_models>\n",
      "\u001b[92mIIB Database file has been successfully backed up to the backup folder.\u001b[0m\n",
      "Startup time: 211.1s (prepare environment: 40.2s, import torch: 4.3s, import gradio: 1.3s, setup paths: 11.8s, initialize shared: 0.4s, other imports: 1.0s, load scripts: 65.5s, create ui: 78.4s, gradio launch: 1.1s, app_started_callback: 6.9s).\n",
      "Starting job task(9m0k1dd32ip8hvw)\n",
      "INFO:modules.shared_state:Starting job task(9m0k1dd32ip8hvw)\n",
      "[w] Prompt of type prompt was null!\n",
      "[i] SDXL Styles: Positive prompt #1: \n",
      "[w] Prompt of type negative_prompt was null!\n",
      "[i] SDXL Styles: Negative prompt #1: \n",
      "\n",
      "Enabled: False\n",
      "\n",
      "checkpoint: sd_xl_base_1.0.safetensors\n",
      "100%|███████████████████████████████████████████| 20/20 [00:04<00:00,  4.94it/s]\n",
      "postprocess_batch\n",
      "Ending job task(9m0k1dd32ip8hvw) (6.86 seconds)\n",
      "INFO:modules.shared_state:Ending job task(9m0k1dd32ip8hvw) (6.86 seconds)\n",
      "Starting job task(wwlsz7kavihx1fe)\n",
      "INFO:modules.shared_state:Starting job task(wwlsz7kavihx1fe)\n",
      "[i] SDXL Styles: Positive prompt #1: ((masterpiece)), (best quality), Gwendolyn_Tennyson, 1girl, solo, (hairclip), orange hair, green eyes, rabbit ears, fake animal ears, playboy bunny, detached collar, bare shoulders, bare arms, collarbone, leotard, latex leotard, wrist cuffs, skindentation, skin tight, small breasts, covered navel, thighhighs, arms up, armpits, cowboy shot, looking at viewer, blush, seductive smile, profile, indoors, casino, <lora:GwendolynTennyson_v0.1-000005:0.8>, <lora:sd_1_5_dpo_lora_v1-128dim:1> <lora:GoodHands-beta2:1.2>, <lora:2Dfy DarkSky HD_v1.1:0.85>, <lora:ShexyoStyle:1>, AND_PERP focus ass :-1\n",
      "[i] SDXL Styles: Negative prompt #1: (extra fingers, deformed hands:1.15), negative_hand-neg, censored, mosaic censoring, verybadimagenegative_v1.3\n",
      "\n",
      "Enabled: False\n",
      "\n",
      "checkpoint: sd_xl_base_1.0.safetensors\n",
      "100%|███████████████████████████████████████████| 20/20 [00:11<00:00,  1.71it/s]\n",
      "postprocess_batch\n",
      "Ending job task(wwlsz7kavihx1fe) (24.89 seconds)\n",
      "INFO:modules.shared_state:Ending job task(wwlsz7kavihx1fe) (24.89 seconds)\n",
      "Loading VAE weights specified in settings: /home/studio-lab-user/asd/models/VAE/vae-ft-mse-840000-ema-pruned.safetensors\n",
      "Applying attention optimization: xformers... done.\n",
      "VAE weights loaded.\n",
      "Starting job task(jooyod2p4knrnt1)\n",
      "INFO:modules.shared_state:Starting job task(jooyod2p4knrnt1)\n",
      "[i] SDXL Styles: Positive prompt #1: ((masterpiece)), (best quality), Gwendolyn_Tennyson, 1girl, solo, (hairclip), orange hair, green eyes, rabbit ears, fake animal ears, playboy bunny, detached collar, bare shoulders, bare arms, collarbone, leotard, latex leotard, wrist cuffs, skindentation, skin tight, small breasts, covered navel, thighhighs, arms up, armpits, cowboy shot, looking at viewer, blush, seductive smile, profile, indoors, casino, <lora:GwendolynTennyson_v0.1-000005:0.8>, <lora:sd_1_5_dpo_lora_v1-128dim:1> <lora:GoodHands-beta2:1.2>, <lora:2Dfy DarkSky HD_v1.1:0.85>, <lora:ShexyoStyle:1>, AND_PERP focus ass :1\n",
      "[i] SDXL Styles: Negative prompt #1: (extra fingers, deformed hands:1.15), negative_hand-neg, censored, mosaic censoring, verybadimagenegative_v1.3\n",
      "\n",
      "Enabled: False\n",
      "\n",
      "checkpoint: sd_xl_base_1.0.safetensors\n",
      "100%|███████████████████████████████████████████| 20/20 [00:09<00:00,  2.17it/s]\n",
      "postprocess_batch\n",
      "Ending job task(jooyod2p4knrnt1) (17.40 seconds)\n",
      "INFO:modules.shared_state:Ending job task(jooyod2p4knrnt1) (17.40 seconds)\n",
      "Starting job task(qpa0l7pmvgp98op)\n",
      "INFO:modules.shared_state:Starting job task(qpa0l7pmvgp98op)\n",
      "[i] SDXL Styles: Positive prompt #1: ((masterpiece)), (best quality), Gwendolyn_Tennyson, 1girl, solo, (hairclip), orange hair, green eyes, rabbit ears, fake animal ears, playboy bunny, detached collar, bare shoulders, bare arms, collarbone, leotard, latex leotard, wrist cuffs, skindentation, skin tight, small breasts, covered navel, thighhighs, arms up, armpits, cowboy shot, looking at viewer, blush, seductive smile, profile, indoors, casino, <lora:GwendolynTennyson_v0.1-000005:0.8>, <lora:sd_1_5_dpo_lora_v1-128dim:1> <lora:GoodHands-beta2:1.2>, <lora:2Dfy DarkSky HD_v1.1:0.85>, <lora:ShexyoStyle:1>, AND_PERP guided breast grab, guiding hand,groping, perfect hands, thigh gap,pov :1\n",
      "[i] SDXL Styles: Negative prompt #1: (extra fingers, deformed hands:1.15), negative_hand-neg, censored, mosaic censoring, verybadimagenegative_v1.3\n",
      "\n",
      "Enabled: False\n",
      "\n",
      "checkpoint: sd_xl_base_1.0.safetensors\n",
      "100%|███████████████████████████████████████████| 20/20 [00:09<00:00,  2.19it/s]\n",
      "postprocess_batch\n",
      "Ending job task(qpa0l7pmvgp98op) (16.37 seconds)\n",
      "INFO:modules.shared_state:Ending job task(qpa0l7pmvgp98op) (16.37 seconds)\n",
      "Starting job task(bao90z5r6tslx1c)\n",
      "INFO:modules.shared_state:Starting job task(bao90z5r6tslx1c)\n",
      "[i] SDXL Styles: Positive prompt #1: ((masterpiece)), (best quality), Gwendolyn_Tennyson, 1girl, solo, (hairclip), orange hair, green eyes, rabbit ears, fake animal ears, playboy bunny, detached collar, bare shoulders, bare arms, collarbone, leotard, latex leotard, wrist cuffs, skindentation, skin tight, small breasts, covered navel, thighhighs, arms up, armpits, cowboy shot, looking at viewer, blush, seductive smile, profile, indoors, casino, <lora:GwendolynTennyson_v0.1-000005:0.8>, <lora:sd_1_5_dpo_lora_v1-128dim:1> <lora:GoodHands-beta2:1.2>, <lora:2Dfy DarkSky HD_v1.1:0.85>, <lora:ShexyoStyle:1>, AND_PERP guided breast grab, guiding hand, groping, perfect hands, thigh gap,pov <lora:POVBREASTGRAB_V2_b_:0.8> :1\n",
      "[i] SDXL Styles: Negative prompt #1: (extra fingers, deformed hands:1.15), negative_hand-neg, censored, mosaic censoring, verybadimagenegative_v1.3\n",
      "\n",
      "Enabled: False\n",
      "\n",
      "checkpoint: sd_xl_base_1.0.safetensors\n",
      "100%|███████████████████████████████████████████| 20/20 [00:10<00:00,  1.94it/s]\n",
      "postprocess_batch\n",
      "Ending job task(bao90z5r6tslx1c) (18.19 seconds)\n",
      "INFO:modules.shared_state:Ending job task(bao90z5r6tslx1c) (18.19 seconds)\n",
      "Starting job task(b4cvp2wj0py9bu4)\n",
      "INFO:modules.shared_state:Starting job task(b4cvp2wj0py9bu4)\n",
      "[i] SDXL Styles: Positive prompt #1: ((masterpiece)), (best quality), Gwendolyn_Tennyson, 1girl, solo, (hairclip), orange hair, green eyes, rabbit ears, fake animal ears, playboy bunny, detached collar, bare shoulders, bare arms, collarbone, leotard, latex leotard, wrist cuffs, skindentation, skin tight, small breasts, covered navel, thighhighs, arms up, armpits, cowboy shot, looking at viewer, blush, seductive smile, profile, indoors, casino, <lora:GwendolynTennyson_v0.1-000005:0.8>, <lora:sd_1_5_dpo_lora_v1-128dim:1> <lora:GoodHands-beta2:1.2>, <lora:2Dfy DarkSky HD_v1.1:0.85>, <lora:ShexyoStyle:1>, AND_PERP guided breast grab, guiding hand, groping, perfect hands, thigh gap,pov <lora:POVBREASTGRAB_V2_b_:0.8> :1.5\n",
      "[i] SDXL Styles: Negative prompt #1: (extra fingers, deformed hands:1.15), negative_hand-neg, censored, mosaic censoring, verybadimagenegative_v1.3\n",
      "Conditioning Highres.fix: High (=d/2) - set mask strength to 0.2\n",
      "\n",
      "Enabled: False\n",
      "\n",
      "checkpoint: sd_xl_base_1.0.safetensors\n",
      "100%|███████████████████████████████████████████| 20/20 [00:09<00:00,  2.17it/s]\n",
      "WARNING:modules.modelloader:Model '/home/studio-lab-user/asd/models/ESRGAN/4x_Valar_v1.pth' is not a 'ESRGAN' model (got 'ESRGAN+')\n",
      "tiled upscale: 100%|████████████████████████████| 15/15 [00:04<00:00,  3.01it/s]\n",
      "100%|███████████████████████████████████████████| 14/14 [00:51<00:00,  3.69s/it]\n",
      "postprocess_batch\n",
      "Ending job task(b4cvp2wj0py9bu4) (79.31 seconds)\n",
      "INFO:modules.shared_state:Ending job task(b4cvp2wj0py9bu4) (79.31 seconds)\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Model saved to: /home/studio-lab-user/asd/models/Lora/SelfBreastGrab.safetensors\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Model info saved to \"/home/studio-lab-user/asd/models/Lora/SelfBreastGrab.json\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: HTML saved at \"/home/studio-lab-user/asd/models/Lora/SelfBreastGrab.html\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Preview saved at \"/home/studio-lab-user/asd/models/Lora/SelfBreastGrab.preview.png\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Model saved to: /home/studio-lab-user/asd/models/Lora/POVBGV2.safetensors\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Model info saved to \"/home/studio-lab-user/asd/models/Lora/POVBGV2.json\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: HTML saved at \"/home/studio-lab-user/asd/models/Lora/POVBGV2.html\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Preview saved at \"/home/studio-lab-user/asd/models/Lora/POVBGV2.preview.png\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Model saved to: /home/studio-lab-user/asd/models/Lora/breast grab NTR4-000014.safetensors\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Model info saved to \"/home/studio-lab-user/asd/models/Lora/breast grab NTR4-000014.json\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: HTML saved at \"/home/studio-lab-user/asd/models/Lora/breast grab NTR4-000014.html\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Preview saved at \"/home/studio-lab-user/asd/models/Lora/breast grab NTR4-000014.preview.png\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Model saved to: /home/studio-lab-user/asd/models/Lora/GrabTits-08.safetensors\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Model info saved to \"/home/studio-lab-user/asd/models/Lora/GrabTits-08.json\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: HTML saved at \"/home/studio-lab-user/asd/models/Lora/GrabTits-08.html\"\n",
      "\u001b[96mCivitAI Browser+\u001b[0m: Preview saved at \"/home/studio-lab-user/asd/models/Lora/GrabTits-08.preview.png\"\n",
      "Starting job task(qkh3zdahkfca79p)\n",
      "INFO:modules.shared_state:Starting job task(qkh3zdahkfca79p)\n",
      "[i] SDXL Styles: Positive prompt #1: ((masterpiece)), (best quality), Gwendolyn_Tennyson, 1girl, solo, (hairclip), orange hair, green eyes, rabbit ears, fake animal ears, playboy bunny, detached collar, bare shoulders, bare arms, collarbone, leotard, latex leotard, wrist cuffs, skindentation, skin tight, small breasts, covered navel, thighhighs, arms up, armpits, cowboy shot, looking at viewer, blush, seductive smile, profile, indoors, casino, <lora:GwendolynTennyson_v0.1-000005:0.8>, <lora:sd_1_5_dpo_lora_v1-128dim:1> <lora:GoodHands-beta2:1.2>, <lora:2Dfy DarkSky HD_v1.1:0.85>, <lora:ShexyoStyle:1>, AND_PERP guided breast grab, guiding hand, sbg, groping, perfect hands, breast lift, thigh gap,pov <lora:SelfBreastGrab:0.8> :1.5\n",
      "[i] SDXL Styles: Negative prompt #1: (extra fingers, deformed hands:1.15), negative_hand-neg, censored, mosaic censoring, verybadimagenegative_v1.3\n",
      "Conditioning Highres.fix: High (=d/2) - set mask strength to 0.2\n",
      "\n",
      "Enabled: False\n",
      "\n",
      "checkpoint: sd_xl_base_1.0.safetensors\n",
      "100%|███████████████████████████████████████████| 20/20 [00:10<00:00,  1.93it/s]\n",
      "WARNING:modules.modelloader:Model '/home/studio-lab-user/asd/models/ESRGAN/4x_Valar_v1.pth' is not a 'ESRGAN' model (got 'ESRGAN+')\n",
      "tiled upscale: 100%|████████████████████████████| 15/15 [00:04<00:00,  3.01it/s]\n",
      "100%|███████████████████████████████████████████| 14/14 [00:51<00:00,  3.69s/it]\n",
      "postprocess_batch\n",
      "Ending job task(qkh3zdahkfca79p) (81.42 seconds)\n",
      "INFO:modules.shared_state:Ending job task(qkh3zdahkfca79p) (81.42 seconds)\n",
      "Starting job task(ctq7zrewo5zu7t0)\n",
      "INFO:modules.shared_state:Starting job task(ctq7zrewo5zu7t0)\n",
      "[i] SDXL Styles: Positive prompt #1: ((masterpiece)), (best quality), Gwendolyn_Tennyson, 1girl, solo, (hairclip), orange hair, green eyes, rabbit ears, fake animal ears, playboy bunny, detached collar, bare shoulders, bare arms, collarbone, leotard, latex leotard, wrist cuffs, skindentation, skin tight, small breasts, covered navel, thighhighs, arms up, armpits, cowboy shot, looking at viewer, blush, seductive smile, profile, indoors, casino, <lora:GwendolynTennyson_v0.1-000005:0.8>, <lora:sd_1_5_dpo_lora_v1-128dim:1> <lora:GoodHands-beta2:1.2>, <lora:2Dfy DarkSky HD_v1.1:0.6>, <lora:ShexyoStyle:1>, AND_PERP guided breast grab, guiding hand, sbg, groping, perfect hands, breast lift, thigh gap,pov <lora:SelfBreastGrab:0.8> :1.5\n",
      "[i] SDXL Styles: Negative prompt #1: (extra fingers, deformed hands:1.15), negative_hand-neg, censored, mosaic censoring, verybadimagenegative_v1.3\n",
      "Conditioning Highres.fix: High (=d/2) - set mask strength to 0.2\n",
      "\n",
      "Enabled: False\n",
      "\n",
      "checkpoint: sd_xl_base_1.0.safetensors\n",
      "100%|███████████████████████████████████████████| 40/40 [00:19<00:00,  2.04it/s]\n",
      "WARNING:modules.modelloader:Model '/home/studio-lab-user/asd/models/ESRGAN/4x_Valar_v1.pth' is not a 'ESRGAN' model (got 'ESRGAN+')\n",
      "tiled upscale: 100%|████████████████████████████| 15/15 [00:05<00:00,  2.97it/s]\n",
      "100%|███████████████████████████████████████████| 14/14 [00:52<00:00,  3.75s/it]\n",
      "postprocess_batch\n",
      "Ending job task(ctq7zrewo5zu7t0) (90.47 seconds)\n",
      "INFO:modules.shared_state:Ending job task(ctq7zrewo5zu7t0) (90.47 seconds)\n",
      "Starting job task(yh515y4cnico1p3)\n",
      "INFO:modules.shared_state:Starting job task(yh515y4cnico1p3)\n",
      "[i] SDXL Styles: Positive prompt #1: ((masterpiece)), (best quality), 1girl,MavisNSFW,<lora:MavisV1:1>,striped thighhighs,(short dress),detached sleevees,medium hair,gothic,night,outdoors,castle,moon,moonlight, dress lift,(no panties:1.5), detailed pussy,<lora:m99_labiaplasty_pussy_2:1>,from below,smile,fangs,black lips, absurdres,masterpiece, ultra quality, ultra detailed, extremely detailed CG, extremely realistic, extremely photorealistic, cute, akiba, anime face, moe, all intricate, awsome many layers,extremely shiny fabric, clothes reflecting light, extremely shiny clothes, vivid tone, awesome metallic surface texture,beautiful detailed girl, glamorous perfect female proportion,(sadistic, erotic, seductive eyes,provocative, enraptured, fascinated, aroused, naughty face),(extremely wrinkled shiny clothes reflecting light)+, fusion of satin and latex fabric,skin fit,extremely shiny fabric, gleaming skin, (villainess, dark persona:1.2), <lora:deluster2:-0.75>, <lora:sd_1_5_dpo_lora_v1-128dim:1>\n",
      "[i] SDXL Styles: Negative prompt #1: (extra fingers, deformed hands:1.15), negative_hand-neg, censored, mosaic censoring, verybadimagenegative_v1.3\n",
      "Conditioning Highres.fix: High (=d/2) - set mask strength to 0.2\n",
      "\n",
      "Enabled: False\n",
      "\n",
      "checkpoint: sd_xl_base_1.0.safetensors\n",
      "100%|███████████████████████████████████████████| 20/20 [00:07<00:00,  2.73it/s]\n",
      "postprocess_batch\n",
      "Ending job task(yh515y4cnico1p3) (13.91 seconds)\n",
      "INFO:modules.shared_state:Ending job task(yh515y4cnico1p3) (13.91 seconds)\n"
     ]
    }
   ],
   "source": [
    "token = \"2bjRvTCeUWnDa0M8alUIJbMGO5P_71tUXiFHi5ssnBaEuRCJC\"\n",
    "\n",
    "%tempe\n",
    "%cd -q ~/asd\n",
    "!python launch.py --allow-code --ngrok {token} --xformers --enable-insecure-extension-access --disable-console-progressbars --theme dark --theme dark --gradio-allowed-path \"/home\" --gradio-queue --disable-safe-unpickle"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "bfc58f9f-9be7-431e-9859-f75684eda0cf",
   "metadata": {
    "tags": []
   },
   "source": [
    "## Extras"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 69,
   "id": "bdf1c5e2-14ae-418b-aa87-3dfcf07e9135",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "Copy and Paste this command into Terminal\n",
      "\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<span style='color:orange;'>~/.zrok/bin/zrok invite</span>"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "press Tab to move the cursor\n",
      "or you can watch this short video https://youtu.be/prTD99GbWlQ\n",
      "\n"
     ]
    }
   ],
   "source": [
    "''' Run this cell to register a ZROK account '''\n",
    "%run ~/asd/asd/zorok.py"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6b74f461-3a60-44fe-8d96-b6fe2f0105a5",
   "metadata": {
    "id": "bf5499c3-18fb-4325-8c37-5298751e4f97",
    "slideshow": {
     "slide_type": "skip"
    },
    "tags": []
   },
   "source": [
    "#### Storage"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "fe9b41c3-932e-442c-9d5e-d43b83a8096d",
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Size = 24.99 GB\n",
      "Used = 20.31 GB | 81.3% \n",
      "Free =  4.68 GB | 18.7% \n",
      "\n",
      "/sd-webui-lama-cleaner-masked-content    4.2 MB\n",
      "/sd-webui-aspect-ratio-helper    592 KB\n",
      "/sd-hub                       304 KB\n",
      "/a1111-sd-webui-tagcomplete   13.9 MB\n",
      "/sd-fast-pnginfo              272 KB\n",
      "/sd-civitai-browser-plus     26.6 MB\n",
      "/StyleSelectorXL              196 KB\n",
      "/batchlinks-webui             9.8 MB\n",
      "/DWPose                     221.6 MB\n",
      "/extensions                   232 KB\n",
      "/canvas-zoom                181.7 MB\n",
      "/batchlinks-addon             164 KB\n",
      "/sd-webui-lora-block-weight    948 KB\n",
      "/sd-webui-cutoff             76.4 MB\n",
      "/multidiffusion-upscaler-for-automatic1111    1.7 MB\n",
      "/sd-webui-neutral-prompt      368 KB\n",
      "/ultimate-upscale-for-automatic1111    236 KB\n",
      "/sd-webui-lora-masks          9.9 MB\n",
      "/sd-webui-refiner             152 KB\n",
      "/sd-webui-lcm-sampler         8.6 MB\n",
      "/test_my_prompt               144 KB\n",
      "/sd-webui-loractl             5.8 MB\n",
      "/sd-webui-cd-tuner           31.0 MB\n",
      "/sd-forge-couple              4.5 MB\n",
      "/sd-webui-diffusion-cg        6.1 MB\n",
      "/sd-webui-smea               12.5 MB\n",
      "/stable-diffusion-webui-state    292 KB\n",
      "/comfyui-tcd-scheduler        540 KB\n",
      "/advanced_euler_sampler_extension    256 KB\n",
      "/stable-diffusion-webui-anti-burn    388 KB\n",
      "/stable-diffusion-webui-conditioning-highres-fix    300 KB\n",
      "/stable-diffusion-webui-batched-hires    204 KB\n",
      "/stable-diffusion-webui-disable-inpainting-overlay    288 KB\n",
      "/stable-diffusion-webui-fix-image-paste    228 KB\n",
      "/stable-diffusion-webui-giant-kitten    208 KB\n",
      "/Stable-Diffusion-WebUI-Image-Filters    608 KB\n",
      "/inpaint-nav                  132 KB\n",
      "/stable-diffusion-webui-two-shot   36.7 MB\n",
      "/sd_webui_masactrl           19.3 MB\n",
      "/FreeU_Advanced               180 KB\n",
      "/sd-webui-lora-uc             348 KB\n",
      "/sd-webui-Lora-queue-helper    2.9 MB\n",
      "/custom-sd-upscale            144 KB\n",
      "/yoinked-style-adder          260 KB\n",
      "/ComfyUI-AutomaticCFG        11.2 MB\n",
      "/seed_travel                 39.5 MB\n",
      "/prompt-fusion-extension      412 KB\n",
      "/advanced-loopback-for-sd-webui   23.5 MB\n",
      "/stable-diffusion-webui-lora-zip    304 KB\n",
      "/comfyui-ranbooru             1.5 MB\n",
      "/stable-diffusion-webui-embedding-merge    320 KB\n",
      "/stable-diffusion-webui-vae-tile-infer    664 KB\n",
      "/stable-diffusion-webui-hires-fix-progressive   52.1 MB\n",
      "/SD-Latent-Upscaler           368 KB\n",
      "/sd-extension-chainner        2.7 MB\n",
      "/sd-webui-controlnet-lora    12.6 MB\n",
      "/sd-paint-with-words          1.1 MB\n",
      "/sd-webui-scalecrafter        344 KB\n",
      "/ScaleCrafter                54.4 MB\n",
      "/modified-euler-samplers-for-sonar-diffusers    320 KB\n",
      "/stable-diffusion-webui-latent-correction    176 KB\n",
      "/sd-webui-prevent-artifact    264 KB\n",
      "/sd-webui-xyzplot-preset      184 KB\n",
      "/stable-diffusion-Latentshop    252 KB\n",
      "/stable-diffusion-NPW         1.3 MB\n",
      "/sd-webui-negpip              3.1 MB\n",
      "/stable-diffusion-webui-daam    6.7 MB\n",
      "/sd-webui-freeu               252 KB\n",
      "/sd_grid_add_image_number     3.9 MB\n",
      "/SD-latent-mirroring          164 KB\n",
      "/sd-webui-batch-loopback      288 KB\n",
      "/embedding-to-png-script      256 KB\n",
      "/Self-Attention-Guidance    118.6 MB\n",
      "/sd-webui-pag                 9.4 MB\n",
      "/StableDiffusion-dpmpp_2m_alt-Sampler    244 KB\n",
      "/sd-webui-sdxl-latent-tweaking    400 KB\n",
      "/sd-webui-incantations       33.5 MB\n",
      "/sd-forge-layerdiffusion      252 KB\n",
      "/sd_webui_SAG_4mouth         26.2 MB\n",
      "/stable-diffusion-webui-size-travel    8.3 MB\n",
      "/sd-webui-mosaic-outpaint     1.1 MB\n",
      "/sd-webui-curtains            204 KB\n",
      "/sd-webui-resharpen           1.8 MB\n",
      "/asymmetric-tiling-sd-webui    228 KB\n",
      "/sd-webui-prompt-format       244 KB\n",
      "/latentcoupleregionmapper     320 KB\n",
      "/sd-webui-auto-res            156 KB\n",
      "/sd-webui-reactivity          796 KB\n",
      "/stable-diffusion-webui-tripclipskip    4.4 MB\n",
      "/sd-webui-image-comparison    5.6 MB\n",
      "/sd-webui-evviz2              6.3 MB\n",
      "/sd-webui-dycfg              23.3 MB\n",
      "/sd-webui-matview             5.6 MB\n",
      "/ComfyUI-nodes-hnmr           9.7 MB\n",
      "/sd-webui-llul               21.5 MB\n",
      "/sd-webui-xl_vec            132.9 MB\n",
      "/sd-webui-Hires-fix-Plus      816 KB\n",
      "/sd-webui-hires-fix-tweaks    488 KB\n",
      "/sd-webui-xyz-addon           208 KB\n",
      "/sd-webui-Blind-Watermark     736 KB\n",
      "/sd-webui-expanded-xyz-plot    356 KB\n",
      "/sd-webui-token-downsampling    324 KB\n",
      "/sd-webui-infotext-example    212 KB\n",
      "/sd-webui-todo                324 KB\n",
      "/sd-webui-perturbed-attention-guidance    172 KB\n",
      "/sd-webui-old-sd-firstpasser    684 KB\n",
      "/sd-webui-cli-interruption    216 KB\n",
      "/stable-diffusion-webui-simple-manga-maker  122.2 MB\n",
      "/sd-webui-color-correction-extras    1.1 MB\n",
      "/sd-webui-samplers-scheduler   11.0 MB\n",
      "/sd-webui-inpaint-background    220 KB\n",
      "/sd_webui_SAG                26.1 MB\n",
      "/stable-diffusion-webui-sched    260 KB\n",
      "/sd-webui-mask-fractioner     448 KB\n",
      "/sd-webui-inpaint-difference    292 KB\n",
      "/sd-webui-alpha-mask          480 KB\n",
      "/prompt-morph                 404 KB\n",
      "/stable-diffusion-webui-adverse-cleaner-tab    816 KB\n",
      "/sd-webui-gray-violet-primary-color    232 KB\n",
      "/stable-diffusion-webui-electron    180 KB\n",
      "/sd-danbooru-tags-upsampler    7.9 MB\n",
      "/embedding-inspector          2.6 MB\n",
      "/sd-webui-sdxl-refiner-hack    236 KB\n",
      "/SD-WebUI-BatchCheckpointPrompt    9.8 MB\n",
      "/DeepShrinkHires.fix          388 KB\n",
      "/sd-webui-aaa                 1.4 MB\n",
      "/latent-upscale              28.0 MB\n",
      "/sd-webui-moar-generate       228 KB\n",
      "/sdweb-easy-generate-forever    216 KB\n",
      "/sdweb-easy-wheel-edit-attention    176 KB\n",
      "/sd-webui-cads               31.2 MB\n",
      "/a1111-stable-diffusion-webui-vram-estimator    296 KB\n",
      "/sd-webui-sdxl-aspects        192 KB\n",
      "/sdxl-model-converter         1.0 MB\n",
      "/prompt_mixer                 248 KB\n",
      "/shift-attention             39.4 MB\n",
      "/sd-webui-lua                 372 KB\n",
      "/CFG-Schedule-for-Automatic1111-SD    276 KB\n",
      "/z-a1111-sd-webui-dtg         4.5 MB\n",
      "/a1111-sd-webui-haku-img      492 KB\n",
      "/sd-webui-image-sequence-toolkit    1.2 MB\n",
      "/sd-webui-multiple-hypernetworks    416 KB\n",
      "/sd-webui-colorful-noise      356 KB\n",
      "/sd-webui-gelbooru-prompt     316 KB\n",
      "/stable-diffusion-webui-visualize-cross-attention-extension    6.5 MB\n",
      "/stable-diffusion-webui-prompt-travel   88.0 MB\n",
      "/multidiffusion-img-demo     52.6 MB\n",
      "/stable-diffusion-webui-extension-templates    460 KB\n",
      "/sdxl-webui-refiner-fixed     168 KB\n",
      "/prompt_quill                57.0 MB\n",
      "/ponyverse                    6.6 MB\n",
      "/lazy-pony-prompter          10.3 MB\n",
      "/pd-styles                    1.4 MB\n",
      "/derpi-tac-a1111              980 KB\n",
      "/sd_extension-prompt_formatter    2.9 MB\n",
      "/Ponymaster                   652 KB\n",
      "/sd-forge-layerdiffuse        288 KB\n",
      "/StyleSelectorXL-Copy1        224 KB\n",
      "/stable-diffusion-webui-print-processed-prompt-extension    144 KB\n",
      "/sd-webui-docker              660 KB\n",
      "/sd_search_model              724 KB\n",
      "/sd-outpainting-server        8.1 MB\n",
      "/sd-tagging-helper            8.6 MB\n",
      "/a1111-stable-diffusion-webui-randomizer-keywords    304 KB\n",
      "/sd-promptbook                6.8 MB\n",
      "/sd-webui-real-image-artifacts    4.4 MB\n",
      "/sd-webui-cloud-inference    17.6 MB\n",
      "/sd-webui-enable-checker      632 KB\n",
      "/sd-webui-noise-color-picker    1.8 MB\n",
      "/sd-webui-weight-helper       300 KB\n",
      "/sd-webui-agentattention     28.0 MB\n",
      "/sd-webui-promptmaker         256 KB\n",
      "/sd-webui-latent-regional-helper    2.1 MB\n",
      "/sd_webui_matting           642.9 MB\n",
      "/sd-webui-semantic-guidance    8.3 MB\n",
      "/sd-webui-tcd-sampler         144 KB\n",
      "/AIGC_helper                 29.1 MB\n",
      "/sd-webui-cardmaster         26.7 MB\n",
      "/sd-webui-img2txt             4.2 MB\n",
      "/sd-webui-system-control      180 KB\n",
      "/sd-prompt-parser             568 KB\n",
      "/sd-webui-temporal            668 KB\n",
      "/sd-webui-fabric             27.5 MB\n",
      "/Merge-Stable-Diffusion-models-without-distortion    2.3 MB\n",
      "/sd-webui-e621-prompt         640 KB\n",
      "/SD-webui-txt2img-script      764 KB\n",
      "/sd-webui-creaprompt          1.1 MB\n",
      "/extension-style-vars         336 KB\n",
      "/sd_webui_sghm              169.8 MB\n",
      "/sd-webui-clipreplacer        184 KB\n",
      "/sd-webui-untitledmerger      376 KB\n",
      "/sd-webui-python-module-install    252 KB\n",
      "/sd-webui-sdxl-size-panel     172 KB\n",
      "/sd-webui-sdxl-styles-panel    276 KB\n",
      "/sd-switch                    304 KB\n",
      "/sd-webui-generation-organizer    276 KB\n",
      "/sd-webui-pnginfo-diff        404 KB\n",
      "/sd-webui-model-downloader-cn    1.6 MB\n",
      "/sd-webui-e621-grabber        292 KB\n",
      "/sd-webui-crop-extension      228 KB\n",
      "/sd-webui-lineart-extension    368 KB\n",
      "/sd-webui-upscale-extended    156 KB\n",
      "/sd-webui-generate-button     780 KB\n",
      "/sd-civitai-url-helper        308 KB\n",
      "/sd-webui-format-prompt       200 KB\n",
      "/sd-webui-split-prompt        2.8 MB\n",
      "/sd-webui-intersync           188 KB\n",
      "/sd-webui-toggle-monospace-prompts    188 KB\n",
      "/sd-webui-infolk-prompt-comment    168 KB\n",
      "/sd-webui-global-prompts      192 KB\n",
      "/sd15-recommended-res-calc   10.8 MB\n",
      "/sd-webui-check-tensors       308 KB\n",
      "/CFG_Rescale_webui            516 KB\n",
      "/ABG_extension                152 KB\n",
      "/Prompts-From-File-v2-for-a111s-SD-webui    196 KB\n",
      "/sd-webui-resscaler           144 KB\n",
      "/sd-webui-cfgs                464 KB\n",
      "/sd-webui-latent-script       192 KB\n",
      "/unload-button                172 KB\n",
      "/sd-webui-keyframer           288 KB\n",
      "/AdverseCleanerExtension      3.1 MB\n",
      "/prompt-interpolation-script-for-sd-webui    344 KB\n",
      "/2sd-webui-reactor            4.3 MB\n",
      "/LightDiffusionFlow           3.5 MB\n",
      "/sd-webui-controlnet         27.1 MB\n",
      "/4adetailer                   784 KB\n",
      "/sd-extension-system-info    60.8 MB\n",
      "/1sd-dynamic-thresholding     2.2 MB\n",
      "/Euler-Smea-Dyn-Sampler       248 KB\n",
      "/OneButtonPrompt             32.4 MB\n",
      "/aci-sd-webui-civitai-models    2.2 MB\n",
      "/sd-infinity-grid-generator-script    4.5 MB\n",
      "/sd-perturbed-attention       464 KB\n",
      "/sd-webui-agent-scheduler     9.7 MB\n",
      "/sd-webui-middleware          244 KB\n",
      "/sd-webui-ranbooru            1.1 MB\n",
      "/sd-webui-tabs-extension      600 KB\n",
      "/sd-webui-vectorscope-cc     15.8 MB\n",
      "/sd-webui-workflow            1.4 MB\n",
      "/stable-diffusion-webui-sonar    6.9 MB\n",
      "/aloe-promptifier             212 KB\n",
      "/custom-hires-fix-for-automatic1111    196 KB\n",
      "/Config-Presets               388 KB\n",
      "/sd-webui-ar                  196 KB\n",
      "/sd-webui-dynamic-hdr         4.2 MB\n",
      "/sd-webui-regional-prompter   36.6 MB\n",
      "/sd-webui-prompt-postprocessor    372 KB\n",
      "/sd-webui-prompt-templates  304.4 MB\n",
      "/sd-webui-rich-text          17.9 MB\n",
      "/sdxl-recommended-res-calc   23.8 MB\n",
      "/sd-webui-color-enhance       252 KB\n",
      "/ssasd                       21.9 MB\n",
      "/stable-diffusion-webui-composable-lora   30.9 MB\n",
      "/sd-dynamic-thresholding      2.2 MB\n",
      "/sd-webui-supermerger         2.4 MB\n",
      "/model-keyword               21.3 MB\n",
      "/sd-webui-infinite-image-browsing    6.9 MB\n",
      "/sd-webui-kohya-hiresfix      424 KB\n",
      "/extensions                   3.4 GB\n"
     ]
    }
   ],
   "source": [
    "''' Check Storage '''\n",
    "!rm -rf ~/.cache/*\n",
    "%storage /home/studio-lab-user/asd/extensions"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "9951220b-4c44-4e52-80db-9fe37ab3a6f2",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "''' Delete output images '''\n",
    "!rm -rf ~/asd/outputs/* ~/.cache/*"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "ad29fba3-221f-4748-a0c1-9fef2c745c3f",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "''' Delete Stable Diffusion '''\n",
    "%cd -q ~\n",
    "!rm -rf ~/tmp/* ~/asd ~/tmp ~/.cache/*"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "9e058676-e9cc-4a39-aeae-c86852d44f5e",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "''' DELETE EVERYTHING , restart jupyterlab afterward '''\n",
    "%delete /home/studio-lab-user"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "89f767e5-2ab8-41b0-81ed-8fda5af53342",
   "metadata": {
    "jp-MarkdownHeadingCollapsed": true,
    "tags": []
   },
   "source": [
    "#### ```zip``` Output images"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "e264e27c-0b24-463a-8ac7-88571517d370",
   "metadata": {
    "tags": []
   },
   "outputs": [],
   "source": [
    "%%zipping\n",
    "\n",
    "input_folder  = '/home/studio-lab-user/asd/outputs'\n",
    "output_folder = '/home/studio-lab-user'"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "default:Python",
   "language": "python",
   "name": "conda-env-default-py"
  },
  "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.10.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}