File size: 57,274 Bytes
a846cff
1130e52
a846cff
 
f96c8ea
5b63f49
0c741b2
727346a
95e6e80
e8a67c1
8d06e8c
184d908
5b63f49
5cf7678
 
 
5b63f49
397c709
5047d72
041e6a7
a05cd85
8add29f
ecc88d6
710b30a
bd59c71
8bf7a13
bbb4e98
5f44b02
22401a2
a05cd85
bd793d4
eb4541c
02af00b
eb4541c
e18ad8c
09ea7ba
02af72d
2d55927
f5a31d4
0eaeb6e
7be4c79
 
 
eb4541c
7be4c79
 
 
 
eb4541c
7be4c79
 
 
 
 
 
eb4541c
 
 
7be4c79
 
eb4541c
7be4c79
 
 
eb4541c
8e2f240
7be4c79
 
 
 
 
 
 
 
 
 
 
 
 
 
eb4541c
7be4c79
 
 
eb4541c
 
 
7be4c79
eb4541c
7be4c79
eb4541c
7be4c79
 
eb4541c
7be4c79
 
 
 
 
eb4541c
7be4c79
 
 
eb4541c
 
7be4c79
 
 
 
 
 
 
 
 
 
a05cd85
7be4c79
6016c1d
20a66a2
7be4c79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6016c1d
949e690
7be4c79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20a66a2
7be4c79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a9ea892
7be4c79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8add29f
7be4c79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91301fa
7be4c79
91301fa
7be4c79
 
 
1c3bb07
 
f96c8ea
e4aff6e
 
f96c8ea
1c3bb07
 
7be4c79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77ef197
 
0eaeb6e
f5a31d4
02af72d
20a66a2
09ea7ba
e18ad8c
02af00b
df906c7
bd793d4
d6692cd
 
eb4541c
90e3dcd
 
8e2f240
5f44b02
96e89d0
facc791
710b30a
1bd9eb5
267c3ad
 
8add29f
a05cd85
041e6a7
5047d72
397c709
5b63f49
 
 
5cf7678
 
 
87ee265
 
e8a67c1
11dfdb7
95e6e80
bdbbc8c
0c741b2
1c3bb07
a846cff
f96c8ea
1c3bb07
 
 
a846cff
1c3bb07
 
 
a846cff
 
7be4c79
1c3bb07
 
7be4c79
1c3bb07
 
a846cff
bb51f97
d824034
8d73fdc
 
 
 
 
 
809c14f
8d73fdc
 
 
 
e46e062
54c92fb
e46e062
 
 
 
8d73fdc
2a6c897
8d73fdc
 
 
75dcbb9
54c92fb
1f980d2
2d772ca
2a6c897
535a188
 
 
 
ec60da5
 
50e8c0c
 
75dcbb9
6815370
 
 
8d73fdc
 
54c92fb
8d73fdc
 
 
1bf5086
5cf7678
1bf5086
3e4af1f
dd792a0
8d73fdc
f715410
1c3bb07
 
196e12a
ec60da5
196e12a
 
7be4c79
 
 
1c3bb07
809c14f
986682b
54c92fb
3d28ae1
551babd
efc6e4d
cdf9eb0
 
efc6e4d
3215abe
83be5aa
a5c2a66
 
809c14f
a5c2a66
3675b58
54c92fb
a5c2a66
 
 
 
 
 
5dfc1d5
5c22477
 
 
83be5aa
1c3bb07
 
 
 
 
 
 
 
 
e4aff6e
 
1c3bb07
 
 
 
 
7be4c79
1c3bb07
 
 
 
 
 
 
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
import gradio as gr
import os 
import sys
from pathlib import Path
       
models = [   
    "Yntec/Hiten",
    "Yntec/HitenDiffusion",
    "Yntec/Citrus",
    "Yntec/Splash",
    "Yntec/animeSEXTILLION/",
    "Yntec/animeTEN",
    "digiplay/OldFish_v1.1_diffusers_recover",
    "digiplay/OldFish_v1.1mix_hello",
    "digiplay/OldFish_v1.1_personal_HDmix",
    "digiplay/OldFish_fix1.1.997_diffusers",
    "Yntec/level4",
    "Yntec/SuperCuteRemix",
    "digiplay/OldFish_v1.1",
    "Yntec/elldrethsImagination",
    "Yntec/animeTWO",
    "Yntec/BeenYou",
    "Yntec/LehinaModel",
    "Yntec/CitrineDreamMix",
    "Yntec/Trending",
    "Yntec/aMovieTrend",
    "Yntec/aPhotographicTrend",
    "Yntec/photoMovieXFinal",
    "Yntec/aMovieX/",
    "Yntec/Hassanim",
    "Yntec/GoldenEra",
    "Yntec/3DCuteWave",
    "Yntec/ClassicEra",
    "Yntec/lamettaNightly",
    "Yntec/GoodLife",
    "Yntec/DucHaiten-GoldenLife",
    "Yntec/BasilRemix",
    "Yntec/ReVAnimated768",
    "Yntec/lamettaRemix",
    "Yntec/lametta",
    "Yntec/vividicAnime",
    "Yntec/Dreamscape",
    "Yntec/NeverEndingDream768",
    "Yntec/humu",
    "Yntec/HassanBlend12",
    "Yntec/HassanBlend1512VAE",
    "Yntec/REV",
    "Yntec/CetusRemix",
    "Yntec/Dreamscapes_n_Dragonfire_v2",
    "Yntec/Cetus",
    "Yntec/RadiantCinemagic",
    "Yntec/RadiantVibes",
    "Yntec/OpenGenDiffusers",
    "Yntec/Dreamlike",
    "Yntec/DeliberateRemix",
    "Yntec/DreamShaperRemix",
    "Yntec/DeliShaper",
    "Yntec/dreamlike-photoreal-remix",
    "Yntec/epiCVision",
    "Yntec/realistic-vision-v12",
    "Yntec/OpenNijiRemix",
    "Yntec/epiCRealismVAE",
    "Yntec/MangledMerge3_768",
    "Yntec/OpenLexica",
    "Yntec/DreamLikeRemix",
    "digiplay/FishMix_v1",
    "Linaqruf/animagine-xl",
    "nerijs/pixel-art-xl",
    "Yntec/MapleSyrup",
    "Yntec/WoopWoopRemix",
    "Yntec/ArcticFowl",
    "Yntec/iComixRemix",
    "Yntec/SamaritanDoesArt",
    "Yntec/samaritan3dCartoon2MVAE",
    "Yntec/CartoonStyleClassic",
    "Yntec/CultClassic",
    "Yntec/CinemaE",
    "Yntec/GalenaVAE",
    "Yntec/a-ZovyaRemix",
    "Yntec/a-ZovyaRPGV3VAE",
    "Yntec/Infinite80s",
    "Yntec/a-ZoviaRPGArtistV2VAE",
    "Yntec/GameAssetsDigitalUnitsCreationKit",
    "Yntec/QToriReloaded",
    "Yntec/Toonify2",
    "Yntec/LunarLuma",
    "Yntec/Lunar",
    "Yntec/Chik2",
    "Yntec/photoMovieRealistic",
    "Yntec/DucHaiten-StyleLikeMeVAE",
    "Yntec/InsaneRealisticCVAE",
    "Yntec/Noosphere_v3_CVAE",
    "Yntec/RealRainbows",
    "Yntec/InsaneM3U",
    "Yntec/ChildrenStoriesAnime",
    "Yntec/theallysMixIV-verisimilar",
    "Yntec/DucHaitenAnime768",
    "Yntec/RainbowClassicAnime",
    "Yntec/DucHaitenClassicAnime768",
    "Yntec/Luma",
    "Yntec/WesternAnimation",
    "Yntec/NeverExisted",
    "Yntec/Rainbowsphere",
    "Yntec/Ninja-Diffusers",
    "Yntec/GOLDFish",
    "Yntec/DreamAnything",
    "Yntec/Dreamsphere",
    "Yntec/Photosphere",
    "Yntec/yabalMixTrue25D_v2_VAE",
    "dreamlike-art/dreamlike-anime-1.0",
    "Yntec/RainbowDreams",
    "Yntec/rainbowpatch",
    "Yntec/DucHaiten-Retro-Diffusers",
    "Yntec/ElldrethsRetroMix_Diffusers",
    "Yntec/sexyToons",
    "Yntec/photoMovieX/",
    "dreamlike-art/dreamlike-photoreal-2.0",
    "digiplay/VoidnoiseCore_R0829",
    "digiplay/MGM",
    "Yntec/CuteYuki2",
    "digiplay/AI-infinity-V1-fp16",
    "digiplay/wantan25D_prototype",
    "digiplay/PotoPhotoRealism_v1",
    "digiplay/LunarDiffusion_v1.27",
    "digiplay/insaneRealistic_v1",
    "digiplay/OLDFish_2348_diffusers",
    "DucHaiten/DucHaitenDreamWorld",
    "digiplay/LemonteaMixPainterly2_v1",
    "digiplay/SweetMuse_diffusers",
    "dreamlike-art/dreamlike-diffusion-1.0",
    "digiplay/Realisian_v1",
    "Hius/DreamFul-V2",
    "digiplay/m3u", #263
    "digiplay/RMHF_2.5D_v2",
    "digiplay/FishMix_v1.1",
    "stablediffusionapi/icomix-2",
    "digiplay/Remedy",
    "Hemlok/QuinceMix",
    "digiplay/K-main",
    "digiplay/LusterMix_v1.5_safetensors", #256
    "digiplay/perfectLewdFantasy_v1.01",
    "digiplay/Opiate_v2",
    "digiplay/PhotoSomnia_vFinal",
    "Yntec/KIDSILLUSTRATIONS",
    "digiplay/polla_mix_2.5D",
    "Yntec/COOLKIDSV2",
    "Yntec/Pavo-Mix-Diffusers",
    "Yntec/RPG_Remix",
    "Yntec/OrangeRemix",
    "Yntec/PeachMix3",
    "Yntec/DucHaitenAIart-beta",
    "Yntec/samdoesartsUlt",
    "Yntec/NovelAI",
    "Yntec/NovelAIRemix",
    "stablediffusionapi/all-526-animated",
    "AstraliteHeart/pony-diffusion",
    "stablediffusionapi/chilloutmixsf",
    "Masagin/Deliberate", #235
    "DucHaiten/DucHaitenSuperCute",
    "stablediffusionapi/all-526",
    "theintuitiveye/HARDblend",
    "stablediffusionapi/cusp-of-serenity",
    "stablediffusionapi/cyberrealistic",
    "SG161222/Realistic_Vision_V1.4",
    "digiplay/paulEberSRealismMix_v1",
    "Ojimi/anime-kawai-diffusion",
    "hassanblend/hassanblend1.4",
    "digiplay/zodiac_eclipse_DAY1",
    "claudfuen/photorealistic-fuen-v1",
    "stablediffusionapi/chillout-app-factory",
    "DucHaiten/DucHaitenJourney",
    "robotjung/SemiRealMix",
    "Joeythemonster/anything-midjourney-v-4-1",
    "prompthero/midjourney-v4-diffusion",
    "prompthero/openjourney-v4",
    "x67/shortjourney",
    "darkstorm2150/Protogen_v2.2_Official_Release",
    "FredZhang7/paint-journey-v2",
    "digiplay/PersonaStyleCheckpoint",
    "darkstorm2150/Protogen_Infinity_Official_Release",
    "PeggyWang/openjourney-v2",
    "darkstorm2150/Protogen_x3.4_Official_Release",
    "stablediffusionapi/deliberateappfactory", #236
    "digiplay/CrossoverMix_v2",
    "stablediffusionapi/spybg",
    "stablediffusionapi/dreamshaper-v6", #239
    "stablediffusionapi/the-ally",
    "darkstorm2150/Protogen_x5.8_Official_Release",
    "coreco/seek.art_MEGA",
    "digiplay/BlankCanvas_v1", #07.11
    "digiplay/OnlyAnime_v2.3",
    "Korakoe/OpenNiji",
    "digiplay/Photon_v1",
    "digiplay/Pika_v2",
    "digiplay/RealCartoon3D_F16full_v3.1", #254
    "digiplay/realidefmix_3.5VAE",
    "digiplay/realmixUnrealjourney_v1",
    "digiplay/SyncMix_v1.5",
    "digiplay/TWingshadow_v1.2",
    "digiplay/V3_by_Hans_Asian",
    "digiplay/whatamix_v1",
    
    "digiplay/2K", #216
    "digiplay/AIGEN_v1.4_diffusers",
    "digiplay/asyncsMIX_v2",
    "digiplay/BrickAndMortarMix_v2.0_diffusers", #224
    "digiplay/BeautyFool_v1.2VAE_pruned",
    "digiplay/breakdomainrealistic_R2333",
    "digiplay/CCTV2.5d_v1", #219
    "digiplay/ChikMix_V3", #253
    "stablediffusionapi/chilledremixsazyou-r", #195
    "digiplay/CityEdge_StyleMix_v1.44",
    "stablediffusionapi/dalcefopainting2", #199
    "digiplay/EdisonNilMix_v1", #07.10
    "digiplay/DiamondCoalMix_v2_pruned_diffusers",
    "digiplay/DreamShaper_7", #259
    "digiplay/elegantEntropy_v1.1", #221
    "digiplay/EtherRealMix_LUX2",
    "digiplay/KawaiiRealisticAnimeMix_A0.3",
    "digiplay/highQualityCGMIX_v1",
    "digiplay/HIMAWARI_v1",
    "digiplay/Hodgepodge_v2.1", #217
    "digiplay/illustro1stEdition_illustroV1", #214
    "digiplay/Juggernaut_final", #07.11
    "digiplay/Landscape_PhotoReal_v1",
    "digiplay/LuckyStrikeMix0.2Realistic", #07.10
    "digiplay/Matrix_Stellar_VAE_v1",
    "digiplay/PrefixRealisticMix_v1",
    "digiplay/RealEpicMajicRevolution_v1", #07.11
    "digiplay/ShampooMix_4", #252
    "digiplay/ShowmakerMix_v1",
    "digiplay/SoapMix2.5D_v1",
    "digiplay/ZemiHR_v2_diffusers",
        
    "Redamancy2299/dreambooth",
    "Lykon/DreamShaper", #240
    "trysem/DreamShaper-3.3",
    "HusseinHE/hussein-deliberate-1000steps", #237
    "stablediffusionapi/majicmixfantasy",
    "stablediffusionapi/majicmixsombre", #247
    "wavymulder/modelshoot",
    "digiplay/ChillyMix_v1", #215
    "stablediffusionapi/foto-assisted-diffusion", #197
    "wavymulder/portraitplus",
    "stablediffusionapi/chilloutmix-4264",
    "stablediffusionapi/product-design", #194
    "kandinsky-community/kandinsky-2-1", #251
    
    "digiplay/2.5DSET_diffusers", #227
    "digiplay/2-KWI", #213
    "digiplay/alstroemeriaMix_v1",
    "wavymulder/Analog-Diffusion",
    "digiplay/AniRealityMix_v1", #257
    "digiplay/ARRealVX1.1",
    "digiplay/BadAnime_v1",
    "digiplay/BasilKorea_v2", #07.11
    "digiplay/bluePencilRealistic_v01",
    "digiplay/bra_v40_diffusers",
    "digiplay/Burger_Mix_semiR2Lite", #222
    "digiplay/calicomixreal_v2.0_diffusers",
    "digiplay/CampurSari_Gen1",
    "digiplay/cocotifacute_v1", #07.10
    "digiplay/cosfMix_v1", #223
    "digiplay/CounterMix_v2", #211
    "digiplay/CuriousMerge2.5D_v5",
    "digiplay/dosmix",
    "digiplay/epi_2.5Dphotogodess_diffusers",
    "stablediffusionapi/droodlyrielv15",
    "digiplay/fantexi_v0.7",
    "digiplay/fishmix_other_v1",
    "digiplay/FormCleansingMix_v1", #228
    "digiplay/FumizukiMix_v1",
    "digiplay/helloworld_v3",
    "digiplay/HenmixArt_v1",
    "digiplay/ISOmix_v3.22",
    "digiplay/JF-Cu_v1",
    "digiplay/kencanmix_v2.0beta",
    "wavymulder/lomo-diffusion",
    "stablediffusionapi/majicmixv5", #192 
    "digiplay/mecha_musume_vivid_soft",
    "digiplay/MiracleMixGlitter_v1",
    "digiplay/MixTape_RocknRoll_v3punk_bake_fp16",
    "digiplay/NextPhoto_v1",
    "digiplay/Noosphere_v3",
    "digiplay/nk15_diffusers", #230
    "digiplay/PeachMixsRelistic_R0", #262
    "wavymulder/timeless-diffusion",
    "digiplay/WhiteDreamyHillMix_v1", #220
    "digiplay/ya3p_VAE", #258

    "DucHaiten/DucHaitenAnime",
    "DucHaiten/DucHaitenAIart",
    "digiplay/BeenYouLiteL11_diffusers",
    "Manseo/Colorful-v4.5-Plus", #244
    "Guizmus/SDArt_ChaosAndOrder",
    "DucHaiten/DH_ClassicAnime",
    "stablediffusionapi/disneypixar",
    "johnslegers/epic-diffusion-v1.1",
    "emilianJR/epiCRealism",
    "johnslegers/epic-diffusion",
    "digiplay/endlessMixRenatus_v1.1", #07.10
    "digiplay/fantasticAnime_diffusers",
    "stablediffusionapi/ghostmix",
    "Duskfallcrew/EpicMix_Realism",
    "nitrosocke/Nitro-Diffusion",
    "prompthero/openjourney",
    "Guizmus/SDArt_something",
    "DucHaiten/DucHaiten-StyleLikeMe",
    "ddPn08/subtly", #250
    "22h/vintedois-diffusion-v0-1",

    "circulus/sd-anireal-v2.7",
    "0xJustin/Dungeons-and-Diffusion",
    "Guizmus/SDArt_AliceInDiffusionLand",
    "stablediffusionapi/realistic-vision-v20-2047",
    "redstonehero/RPG-v5-itr17_A10T",

    "stablediffusionapi/camelliamix25d",
    "Guizmus/SDArt_cosmichorrors",
    "DGSpitzer/DGSpitzer-Art-Diffusion",
    "stablediffusionapi/emotion-puppeteer-v2",
    "stablediffusionapi/fengjing",
    "stablediffusionapi/fuwafuwamix",
    "Fred99774/girlnew1",
    "stablediffusionapi/majicmixrealistic",
    "badmonk/nxka",
    "ItsJayQz/SynthwavePunk-v2",
    "zhyemmmm/ToonYou",
    "stablediffusionapi/uber-realistic-merge",
    "stablediffusionapi/vne732h9dh4",
    "stablediffusionapi/wand-magic2",
    "stablediffusionapi/waifu-journey-2",
    "stablediffusionapi/zovya",
    
    "Guizmus/SDArt_cosmichorrors768",
    "stablediffusionapi/counterfeit-v30",
    "stablediffusionapi/amireal",
    #"JamesFlare/pastel-mix",    #"andite/pastel-mix",
    "stablediffusionapi/rev-anim",
    "aipicasso/picasso-diffusion-1-1",
    "xiaolxl/Gf_style2",
    "circulus/sd-semireal-v2.8",
    "Crosstyan/BPModel", #07.11
    
    "digiplay/Dusk-1",
    "ogkalu/Comic-Diffusion",
    "Guizmus/SDArt_ChaosAndOrder768",
    "gsdf/Counterfeit-V2.0",
    "dwancin/memoji", #07.11
    "nousr/robo-diffusion-2-base",
        
    ##"hakurei/waifu-diffusion",
    "WarriorMama777/AbyssOrangeMix2",
    "stablediffusionapi/abyssorangemix2nsfw", #200
    "cag/anything-v3-1",
    "iZELX1/Anything-V3-X",
    "xyn-ai/anything-v4.0", #"andite/anything-v4.0",
    "D1b4l4p/AsianMix",
    #"Fred99774/chilloutvlara", 
    "aipicasso/cool-japan-diffusion-2-1-2",
    "stablediffusionapi/corneos-7th-heaven-m", #196
    "DGSpitzer/Cyberpunk-Anime-Diffusion",
    "stablediffusionapi/dark-sushi-mix",
    "joachimsallstrom/Double-Exposure-Diffusion",
    "eimiss/EimisAnimeDiffusion_1.0v",
    "prompthero/funko-diffusion",
    "nitrosocke/Ghibli-Diffusion",
    ###"iZELX1/Grapefruit",
    "xiaolxl/GuoFeng3",
    "stablediffusionapi/tmnd-mix",
    "coder119/Vectorartz_Diffusion", #203
    
    "WarriorMama777/AbyssOrangeMix",
    "AIARTCHAN/7pa",
    "JosephusCheung/ACertainModel",
    "JosephusCheung/ACertainThing",
    "AIARTCHAN/AbyssHellHero",
    "JosephusCheung/ACertainty",
    "AIARTCHAN/AbyssHellVer3",
    "AIARTCHAN/AbyssMapleVer3",
    "stablediffusionapi/abyssorangemixsfw",
    "AIARTCHAN/anidosmixV2",
    "stablediffusionapi/anime-model-v2",
    "kubanemil/AnyLORA",
    "stablediffusionapi/hc-anything-v3-vae", #231
    "mm00/anything-v3.0-light",
    "stablediffusionapi/anythingelse-v4",
    "stablediffusionapi/anything-v45-fixed",
    "stablediffusionapi/anything-v5",
    "nitrosocke/Arcane-Diffusion",
    "nitrosocke/archer-diffusion",
    "stablediffusionapi/architecture-tuned-model",
    "WarriorMama777/BloodOrangeMix",
    "wavymulder/collage-diffusion",
    "stablediffusionapi/camelliamixline",
    "digiplay/chrysanthemumMix_v1",
    "digiplay/CiderMix_ciderR", #260
    "Johnhex/Clam", #243
    "stablediffusionapi/cosmic-babes",
    "digiplay/CoffeeDonut_v1",
    "stablediffusionapi/dark-sushi-25d",
    "digiplay/Defacta_v1_diffusers", #226
    ## "WarriorMama777/EerieOrangeMix",
    "digiplay/DuelAnimeMix_v1", #225
    "Envvi/Inkpunk-Diffusion",
    "digiplay/kotosmix_diffusers", #229
    "stablediffusionapi/meinaalter",
    "Nacholmo/meinamixv7-diffusers",
    "stablediffusionapi/meinapastel",
    "AIARTCHAN/MIX-Pro-V4",
    "stablediffusionapi/shirataki-mix", #191
    "NoCrypt/SomethingV2_2",
    "NoCrypt/SomethingV2",
    "badmonk/sxzumi",
    ## "stablediffusionapi/three-delicacy",
    ## "stablediffusionapi/three-delicacy-wonto",
    "etherealxx/systemy-csrmodel-cutesexyrobutts", #"andite/cutesexyrobutts-diffusion",
    "sd-dreambooth-library/true-guweiz-style", # "andite/guweiz-diffusion",
    "stablediffusionapi/vector-art", #198
    "digiplay/xxMix_4",
    ###"mio/hiten", #"andite/hiten-diffusion",
    ### "andite/mashuu-diffusion",
    ### "andite/mignon-diffusion",
    ### "andite/mikapikazo-diffusion",
    ### "andite/piromizu-diffusion",
    "digiplay/Zevinemix_v1.0/",

    "digiplay/AnaMix_v2", #07.11
    "stablediffusionapi/animetestmodelv3",
    "yulet1de/anything", #232
    "hakurei/artstation-diffusion", #07.11
    "Fictiverse/Stable_Diffusion_BalloonArt_Model",
    "stablediffusionapi/bg-dream-irl",
    "stablediffusionapi/bg-dream-model-b", #193
    "Rardilit/Ciffusion_v0.1",
    "circulus/sd-anireal-2d-v2",
    "circulus/sd-photoreal-v2.7",
    "circulus/sd-photoreal-photo-v2",
    "circulus/sd-anireal-2.5d-v2",
    "circulus/sd-anireal-v2.5",
    "circulus/sd-photoreal-semi-v2",
    "circulus/sd-photoreal-real-v2",
    "circulus/sd-photoreal-v2.5",
    "circulus/sd-anireal-3d-v2",
    "circulus/sd-anireal-v2.8",
    "nitrosocke/classic-anim-diffusion", 
    "Conflictx/Complex-Lineart", #245
    "sayakpaul/da-vinci-sd-pokemon",
    "nitrosocke/elden-ring-diffusion",
    "digiplay/EtherBluMix_1", #07.11
    "digiplay/fantasticmix_v40_test", #261
    "theintuitiveye/FantasyMix",
    "Fictiverse/Stable_Diffusion_FluidArt_Model",
    "nitrosocke/Future-Diffusion",
    "ItsJayQz/GTA5_Artwork_Diffusion",  #205
    "digiplay/hellopure_v2.23",
    "TheLastBen/hrrzg-style-768px", #246
    "nevernotsean/IllustratedPaperMini", #242
    "dallinmackay/JWST-Deep-Space-diffusion",
    "prompthero/linkedin-diffusion",
    "mann-e/mann-e_4_rev-0-1", #210
    "ItsJayQz/Marvel_WhatIf_Diffusion", #206
    "yuanbit/max-15-1e-6-1500",
    "MyneFactory/MF-Base", #248
    "Fictiverse/Stable_Diffusion_Microscopic_model", #249
    "nitrosocke/mo-di-diffusion",
    "luongphamit/NeverEnding-Dream2", #241
    "lambdalabs/sd-naruto-diffusers", #201
    "Vernon-2/output_test",
    "Fictiverse/Stable_Diffusion_PaperCut_Model",
    "bsuutari/path_to_saved_model",
    "bsuutari/path_to_saved_model_rafa",
    "digiplay/PlanetBumix_v1",
    "lambdalabs/sd-pokemon-diffusers", #202
    "prompthero/poolsuite-diffusion",
    "digiplay/RealismEngine_v1",
    "nitrosocke/redshift-diffusion",
    "nitrosocke/redshift-diffusion-768",
    "nousr/robo-diffusion",
    "digiplay/SDVN1-Real_v1", #255
    "nitrosocke/spider-verse-diffusion",
    #"runwayml/stable-diffusion-v1-5",
    "nicky007/stable-diffusion-logo-fine-tuned",
    "stablediffusionapi/three-delicacy", #233
    "stablediffusionapi/three-delicacy-wonto", #234
    "naclbit/trinart_stable_diffusion_v2",    
    "dallinmackay/Tron-Legacy-diffusion",
    "digiplay/unstableDiffusersYamerMIX_v3",
    "dallinmackay/Van-Gogh-diffusion",
    "ItsJayQz/Valorant_Diffusion",
    "Fictiverse/Stable_Diffusion_VoxelArt_Model", #204
    "wavymulder/wavyfusion",
    "Yntec/HassanRemix",
    "Yntec/Reddit",
    "Yntec/CinematicReality",
    "CompVis/stable-diffusion-v1-3", #207
    "CompVis/stable-diffusion-v1-2", #208
    "CompVis/stable-diffusion-v1-1", #209
]
current_model = models[0]

text_gen1=gr.Interface.load("spaces/daspartho/prompt-extend") 
#text_gen1=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link")

models2=[
    gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[1]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[2]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[3]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[4]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[5]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[6]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[7]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[8]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[9]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[10]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[11]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[12]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[13]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[14]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[15]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[16]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[17]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[18]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[19]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[20]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[21]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[22]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[23]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[24]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[25]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[26]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[27]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[28]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[29]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[30]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[31]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[32]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[33]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[34]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[35]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[36]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[37]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[38]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[39]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[40]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[41]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[42]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[43]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[44]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[45]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[46]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[47]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[48]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[49]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[50]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[51]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[52]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[53]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[54]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[55]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[56]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[57]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[58]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[59]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[60]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[61]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[62]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[63]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[64]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[65]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[66]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[67]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[68]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[69]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[70]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[71]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[72]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[73]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[74]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[75]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[76]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[77]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[78]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[79]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[80]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[81]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[82]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[83]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[84]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[85]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[86]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[87]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[88]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[89]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[90]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[91]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[92]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[93]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[94]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[95]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[96]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[97]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[98]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[99]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[100]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[101]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[102]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[103]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[104]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[105]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[106]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[107]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[108]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[109]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[110]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[111]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[112]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[113]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[114]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[115]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[116]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[117]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[118]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[119]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[120]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[121]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[122]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[123]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[124]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[125]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[126]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[127]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[128]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[129]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[130]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[131]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[132]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[133]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[134]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[135]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[136]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[137]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[138]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[139]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[140]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[141]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[142]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[143]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[144]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[145]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[146]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[147]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[148]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[149]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[150]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[151]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[152]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[153]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[154]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[155]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[156]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[157]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[158]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[159]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[160]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[161]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[162]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[163]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[164]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[165]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[166]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[167]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[168]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[169]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[170]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[171]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[172]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[173]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[174]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[175]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[176]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[177]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[178]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[179]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[180]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[181]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[182]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[183]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[184]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[185]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[186]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[187]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[188]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[189]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[190]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[191]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[192]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[193]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[194]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[195]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[196]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[197]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[198]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[199]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[200]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[201]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[202]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[203]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[204]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[205]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[206]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[207]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[208]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[209]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[210]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[211]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[212]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[213]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[214]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[215]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[216]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[217]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[218]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[219]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[220]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[221]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[222]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[223]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[224]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[225]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[226]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[227]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[228]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[229]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[230]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[231]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[232]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[233]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[234]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[235]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[236]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[237]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[238]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[239]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[240]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[241]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[242]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[243]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[244]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[245]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[246]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[247]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[248]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[249]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[250]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[251]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[252]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[253]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[254]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[255]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[256]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[257]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[258]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[259]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[260]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[261]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[262]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[263]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[264]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[265]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[266]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[267]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[268]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[269]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[270]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[271]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[272]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[273]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[274]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[275]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[276]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[277]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[278]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[279]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[280]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[281]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[282]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[283]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[284]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[285]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[286]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[287]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[288]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[289]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[290]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[291]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[292]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[293]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[294]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[295]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[296]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[297]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[298]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[299]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[300]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[301]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[302]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[303]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[304]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[305]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[306]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[307]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[308]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[309]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[310]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[311]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[312]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[313]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[314]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[315]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[316]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[317]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[318]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[319]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[320]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[321]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[322]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[323]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[324]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[325]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[326]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[327]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[328]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[329]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[330]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[331]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[332]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[333]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[334]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[335]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[336]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[337]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[338]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[339]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[340]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[341]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[342]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[343]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[344]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[345]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[346]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[347]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[348]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[349]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[350]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[351]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[352]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[353]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[354]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[355]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[356]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[357]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[358]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[359]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[360]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[361]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[362]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[363]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[364]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[365]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[366]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[367]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[368]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[369]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[370]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[371]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[372]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[373]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[374]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[375]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[376]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[377]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[378]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[379]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[380]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[381]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[382]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[383]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[384]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[385]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[386]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[387]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[388]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[389]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[390]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[391]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[392]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[393]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[394]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[395]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[396]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[397]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[398]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[399]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[400]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[401]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[402]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[403]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[404]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[405]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[406]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[407]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[408]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[409]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[410]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[411]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[412]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[413]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[414]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[415]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[416]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[417]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[418]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[419]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[420]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[421]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[422]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[423]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[424]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[425]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[426]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[427]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[428]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[429]}",live=True,preprocess=False),
    
    gr.Interface.load(f"models/{models[430]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[431]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[432]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[433]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[434]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[435]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[436]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[437]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[438]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[439]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[440]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[441]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[442]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[443]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[444]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[445]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[446]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[447]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[448]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[449]}",live=True,preprocess=False),
    
    gr.Interface.load(f"models/{models[450]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[451]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[452]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[453]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[454]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[455]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[456]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[457]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[458]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[459]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[460]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[461]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[462]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[463]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[464]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[465]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[466]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[467]}",live=True,preprocess=False),
]

   
def text_it1(inputs,text_gen1=text_gen1):
        go_t1=text_gen1(inputs)
        return(go_t1)

def set_model(current_model):
    current_model = models[current_model]
    return gr.update(label=(f"{current_model}"))


def send_it1(inputs, model_choice): #negative_prompt,
        proc1=models2[model_choice]
        output1=proc1(inputs)
        #negative_prompt=negative_prompt
        return(output1)
css=""""""


with gr.Blocks(css=css) as myface:
    gr.HTML("""
     <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
              <div>
                <style>
                    h1 {
                    font-size: 6em;
                    color: #ffc99f;
                    margin-top: 30px;
                    margin-bottom: 30px;
                    text-shadow: 3px 3px 0 rgba(0, 0, 0, 1) !important;
                   }
                   h3 {
                    color: #ffc99f; !important;
                   }
                   h4 {
                    color: #ffffff; !important;
                   }
                   .gradio-container {
                   background-image: linear-gradient(#254150, #1e2f40, #182634) !important;
                   color: #ffaa66 !important;
                   font-family: 'IBM Plex Sans', sans-serif !important;
                   }
                   .text-gray-500 {
                   color: #ffc99f !important;
                   }
                   .gr-box {
    background-image: linear-gradient(#182634, #1e2f40, #254150) !important;
    border-top-color: #000000 !important;
    border-right-color: #ffffff !important;
    border-bottom-color: #ffffff !important;
    border-left-color: #000000 !important;
                   }
                   .gr-input {
                   color: #ffc99f; !important;
                   background-color: #254150 !important;
                   }
                   :root {
    --neutral-100: #000000 !important;
                   }
                </style>
                <body>
                <div class="center"><h1>Toy World</h1>
                </div>
                </body>
              </div>
              <p style="margin-bottom: 9px; color: #ffaa66;">
              <h3>Fast Diffusion - 460 Stable Diffusion models for your enjoyment!</h3></p>
              <p style="margin-bottom: 9px; font-size: 98%">
              <br><h4>The first time you load a model it takes less than a minute.</h4>
              <br><h4>But after it's loaded each new image takes 20 seconds to generate!</h4></p>
            </div>
            """)
    with gr.Row():
        with gr.Column(scale=100):
            #Model selection dropdown    
            model_name1 = gr.Dropdown(label="Select Model", choices=[m for m in models], type="index", value=current_model, interactive=True)
    with gr.Row():
        with gr.Column(scale=100):
            magic1=gr.Textbox(label="Your Prompt", lines=4) #Positive
        #with gr.Column(scale=100):
            #negative_prompt=gr.Textbox(label="Negative Prompt", lines=1)
            gr.HTML("""<style>           .gr-button {
            color: #ffffff !important;
            text-shadow: 1px 1px 0 rgba(0, 0, 0, 1) !important;
            background-image: linear-gradient(#76635a, #d2a489) !important;
            border-radius: 24px !important;
            border: solid 1px !important;
            border-top-color: #ffc99f !important;
            border-right-color: #000000 !important;
            border-bottom-color: #000000 !important;
            border-left-color: #ffc99f !important;
            padding: 6px 30px;
}

.gr-button:active {
            color: #ffc99f !important;
            font-size: 98% !important;
            text-shadow: 0px 0px 0 rgba(0, 0, 0, 1) !important;
            background-image: linear-gradient(#d2a489, #76635a) !important;
            border-top-color: #000000 !important;
            border-right-color: #ffffff !important;
            border-bottom-color: #ffffff !important;
            border-left-color: #000000 !important;
}

.gr-button:hover {
  filter: brightness(130%);
}

</style>""")
            run=gr.Button("Generate Image")
    with gr.Row():
        with gr.Column(style="width=800px"):
            output1=gr.Image(label=(f"{current_model}"))
                
            
    with gr.Row():
        with gr.Column(scale=50):
            input_text=gr.Textbox(label="Use this box to extend an idea automagically, by typing some words and clicking Extend Idea",lines=2)
            see_prompts=gr.Button("Extend Idea -> overwrite the contents of the `Your Prompt´ box above")
            use_short=gr.Button("Copy the contents of this box to the `Your Prompt´ box above")
    def short_prompt(inputs):
        return(inputs)
    
    model_name1.change(set_model,inputs=model_name1,outputs=[output1])
    
    run.click(send_it1, inputs=[magic1, model_name1], outputs=[output1])
    
    use_short.click(short_prompt,inputs=[input_text],outputs=magic1)
    
    see_prompts.click(text_it1,inputs=[input_text],outputs=magic1)
    
myface.queue(concurrency_count=200)
myface.launch(inline=True, show_api=False, max_threads=400)