File size: 55,176 Bytes
b7236f0
 
 
 
46c56a8
b7236f0
 
 
cb8374c
fece1d0
 
b7236f0
 
190bea1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b7236f0
190bea1
 
 
 
 
 
 
 
 
 
7125a24
190bea1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
adab279
 
cd93a8c
92a51ba
 
fa04110
 
 
 
 
58ad217
 
 
494d7ee
 
 
 
 
fa04110
8c8dbfe
 
678c177
 
ec0ba02
508e2dd
0668ea7
 
 
 
 
a9366e7
 
224cca9
b73a2ff
064241b
 
fce3624
 
c0666dc
 
 
 
 
 
 
489dd45
 
5284970
 
07eca3d
 
 
 
 
8f19bc3
 
5bd66cd
 
42830a2
 
2ba3409
 
 
 
 
 
 
 
a9366e7
190bea1
 
628ea75
b7236f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42830a2
b7236f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import gradio as gr
import os 
import sys
from pathlib import Path
from all_models import models
       
current_model = models[0]


#text_gen1=gr.Interface.load("spaces/phenomenon1981/MagicPrompt-Stable-Diffusion") 
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),
    gr.Interface.load(f"models/{models[469]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[470]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[471]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[472]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[473]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[474]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[475]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[476]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[477]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[478]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[479]}",live=True,preprocess=False),
    
    gr.Interface.load(f"models/{models[480]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[481]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[482]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[483]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[484]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[485]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[486]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[487]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[488]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[489]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[490]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[491]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[492]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[493]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[494]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[495]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[496]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[497]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[498]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[499]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[500]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[501]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[502]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[503]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[504]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[505]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[506]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[507]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[508]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[509]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[510]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[511]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[512]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[513]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[514]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[515]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[516]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[517]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[518]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[519]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[520]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[521]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[522]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[523]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[524]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[525]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[526]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[527]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[528]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[529]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[530]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[531]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[532]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[533]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[534]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[535]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[536]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[537]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[538]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[539]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[540]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[541]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[542]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[543]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[544]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[545]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[546]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[547]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[548]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[549]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[550]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[551]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[552]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[553]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[554]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[555]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[556]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[557]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[558]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[559]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[560]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[561]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[562]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[563]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[564]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[565]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[566]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[567]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[568]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[569]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[570]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[571]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[572]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[573]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[574]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[575]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[576]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[577]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[578]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[579]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[580]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[581]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[582]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[583]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[584]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[585]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[586]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[587]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[588]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[589]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[590]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[591]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[592]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[593]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[594]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[595]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[596]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[597]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[598]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[599]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[600]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[601]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[602]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[603]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[604]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[605]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[606]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[607]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[608]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[609]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[610]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[611]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[612]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[613]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[614]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[615]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[616]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[617]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[618]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[619]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[620]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[621]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[622]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[623]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[624]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[625]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[626]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[627]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[628]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[629]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[630]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[631]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[632]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[633]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[634]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[635]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[636]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[637]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[638]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[639]}",live=True,preprocess=False),
    
    gr.Interface.load(f"models/{models[640]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[641]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[642]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[643]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[644]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[645]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[646]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[647]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[648]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[649]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[650]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[651]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[652]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[653]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[654]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[655]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[656]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[657]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[656]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[657]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[658]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[659]}",live=True,preprocess=False),

    gr.Interface.load(f"models/{models[660]}",live=True,preprocess=False),
    gr.Interface.load(f"models/{models[661]}",live=True,preprocess=False),
    
    #Because there's a model 0, to know the number of models you add 1 to {models[n]}
]

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: #c9c9c9;
                    margin-top: 30px;
                    margin-bottom: 30px;
                    text-shadow: 3px 3px 0 rgba(0, 0, 0, 1) !important;
                   }
                   h3 {
                    color: #c9c9c9; !important;
                   }
                   h4 {
                    color: #ffffff; !important;
                   }
                   .gradio-container {
                   background-image: linear-gradient(#252525, #1e1e1e, #181818) !important;
                   color: #aaaaaa !important;
                   font-family: 'IBM Plex Sans', sans-serif !important;
                   }
                   .text-gray-500 {
                   color: #c9c9c9 !important;
                   }
                   .gr-box {
    background-image: linear-gradient(#181818, #1e1e1e, #252525) !important;
    border-top-color: #000000 !important;
    border-right-color: #ffffff !important;
    border-bottom-color: #ffffff !important;
    border-left-color: #000000 !important;
                   }
                   .gr-input {
                   color: #c9c9c9; !important;
                   background-color: #252525 !important;
                   }
                   :root {
    --neutral-100: #000000 !important;
                   }
                </style>
                <body>
                <div class="center"><h1>Printing Press</h1>
                </div>
                </body>
              </div>
              <p style="margin-bottom: 9px; color: #aaaaaa;">
              <h3>Top 658 Blitz Diffusion Models - A permanently online backup copy of <a href="https://huggingface.co/spaces/Yntec/ToyWorld"><u><p style="color:#8150df;"><b>Toy World!</b></p></u></a></h3></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(#635a76, #a489d2) !important;
            border-radius: 24px !important;
            border: solid 1px !important;
            border-top-color: #c99fff !important;
            border-right-color: #000000 !important;
            border-bottom-color: #000000 !important;
            border-left-color: #c99fff !important;
            padding: 6px 30px;
}
.gr-button:active {
            color: #c99fff !important;
            font-size: 98% !important;
            text-shadow: 0px 0px 0 rgba(0, 0, 0, 1) !important;
            background-image: linear-gradient(#a489d2, #635a76) !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)