Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,39 @@ import sys
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"Yntec/IdleFancy",
|
|
|
|
|
8 |
"digiplay/GhostMixV1.2VAE",
|
9 |
-
"Yntec/
|
10 |
"digiplay/LuckyStrikeMix1.05_Lovelylady",
|
11 |
"Yntec/Looking-Glass",
|
12 |
"digiplay/AbsoluteReality_v1.0_diffusers",
|
@@ -103,19 +133,12 @@ models = [
|
|
103 |
"digiplay/Photon_v1",
|
104 |
"Yntec/IncredibleWorld",
|
105 |
"digiplay/WolfSystems_v1",
|
106 |
-
"digiplay/MGM",
|
107 |
"Yntec/TheDarkNight",
|
108 |
-
"digiplay/Koji_v2.1_diffusers",
|
109 |
"Yntec/Cryptids",
|
110 |
-
"digiplay/ARRealVX1.1",
|
111 |
"Yntec/Tantrum",
|
112 |
-
"digiplay/MengX_Mix_Real_v3",
|
113 |
"Yntec/CutesyAnime",
|
114 |
-
"digiplay/AM-mix1",
|
115 |
"Yntec/HellSKitchen",
|
116 |
-
"digiplay/MeinaMix_v7",
|
117 |
"Yntec/Kitsch-In-Sync",
|
118 |
-
"digiplay/AingDiffusion9.2",
|
119 |
"Yntec/La-dee-dah-.-_",
|
120 |
"Yntec/HELLmix",
|
121 |
"Yntec/AnalogMadness4",
|
@@ -321,6 +344,8 @@ models = [
|
|
321 |
"Yntec/NovelAI",
|
322 |
"Yntec/NovelAIRemix",
|
323 |
"Yntec/Hiten",
|
|
|
|
|
324 |
"digiplay/fantasticmix2.5D_v4.0",
|
325 |
"digiplay/majicMIX_realistic_v1",
|
326 |
"digiplay/RunDiffusionFXPhotorealistic_v1",
|
@@ -337,12 +362,12 @@ models = [
|
|
337 |
"digiplay/AingDiffusion8.5",
|
338 |
"digiplay/AingDiffusion6",
|
339 |
"digiplay/AingDiffusion8.17",
|
340 |
-
"digiplay/
|
341 |
-
"AIARTCHAN/AbyssHellHero",
|
342 |
"digiplay/MeinaMix_v11",
|
|
|
|
|
343 |
"digiplay/futaall_v8_VAE_diffusers",
|
344 |
"digiplay/Sudachi_diffusers",
|
345 |
-
"digiplay/AingDiffusion7.5",
|
346 |
"digiplay/CleanLinearMix_nsfw",
|
347 |
"digiplay/majicMIX_realistic_v4",
|
348 |
"digiplay/VersaMix_base_diffusers",
|
@@ -564,7 +589,7 @@ models = [
|
|
564 |
##"hakurei/waifu-diffusion",
|
565 |
"WarriorMama777/AbyssOrangeMix2",
|
566 |
"stablediffusionapi/abyssorangemix2nsfw", #200
|
567 |
-
"cag/anything-v3-1",
|
568 |
"iZELX1/Anything-V3-X",
|
569 |
"xyn-ai/anything-v4.0", #"andite/anything-v4.0",
|
570 |
#"D1b4l4p/AsianMix",
|
@@ -575,7 +600,7 @@ models = [
|
|
575 |
"stablediffusionapi/dark-sushi-mix",
|
576 |
"joachimsallstrom/Double-Exposure-Diffusion",
|
577 |
"eimiss/EimisAnimeDiffusion_1.0v",
|
578 |
-
"prompthero/funko-diffusion",
|
579 |
"nitrosocke/Ghibli-Diffusion",
|
580 |
###"iZELX1/Grapefruit",
|
581 |
"xiaolxl/GuoFeng3",
|
@@ -667,7 +692,7 @@ models = [
|
|
667 |
"TheLastBen/hrrzg-style-768px", #246
|
668 |
"nevernotsean/IllustratedPaperMini", #242
|
669 |
"dallinmackay/JWST-Deep-Space-diffusion",
|
670 |
-
"prompthero/linkedin-diffusion",
|
671 |
"mann-e/mann-e_4_rev-0-1", #210
|
672 |
"ItsJayQz/Marvel_WhatIf_Diffusion", #206
|
673 |
"yuanbit/max-15-1e-6-1500",
|
@@ -679,7 +704,6 @@ models = [
|
|
679 |
"Fictiverse/Stable_Diffusion_PaperCut_Model",
|
680 |
"bsuutari/path_to_saved_model",
|
681 |
"bsuutari/path_to_saved_model_rafa",
|
682 |
-
"digiplay/PlanetBumix_v1",
|
683 |
"lambdalabs/sd-pokemon-diffusers", #202
|
684 |
"prompthero/poolsuite-diffusion",
|
685 |
"digiplay/RealismEngine_v1",
|
@@ -1445,7 +1469,31 @@ models2=[
|
|
1445 |
gr.Interface.load(f"models/{models[676]}",live=True,preprocess=False),
|
1446 |
gr.Interface.load(f"models/{models[677]}",live=True,preprocess=False),
|
1447 |
gr.Interface.load(f"models/{models[678]}",live=True,preprocess=False),
|
1448 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1449 |
]
|
1450 |
|
1451 |
def text_it1(inputs,text_gen1=text_gen1):
|
@@ -1523,12 +1571,13 @@ with gr.Blocks(css=css) as myface:
|
|
1523 |
</body>
|
1524 |
</div>
|
1525 |
<p style="margin-bottom: 1px; color: #ffaa66;">
|
1526 |
-
<h3>Blitz Diffusion -
|
1527 |
-
<br><div class="wrapper">
|
1528 |
<p style="margin-bottom: 1px; font-size: 98%">
|
1529 |
<br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4></p>
|
1530 |
<p style="margin-bottom: 1px; color: #ffffff;">
|
1531 |
-
<br
|
|
|
1532 |
</div>
|
1533 |
""")
|
1534 |
with gr.Row():
|
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
+
"Yntec/Fabulous" #700
|
8 |
+
"digiplay/BeautifulFantasyRealMix_diffusers", #698
|
9 |
+
"Yntec/IncredibleLife", #699
|
10 |
+
"digiplay/MGM",
|
11 |
+
"Yntec/AnythingV3.1", #699
|
12 |
+
"digiplay/AstrAnime_v6", #698
|
13 |
+
"Yntec/TimelessDiffusion768", #699
|
14 |
+
"digiplay/Koji_v2.1_diffusers",
|
15 |
+
"Yntec/RetroLife", #691
|
16 |
+
"digiplay/CamelliaMIx_2.5D_v1_VAE", #696
|
17 |
+
"Yntec/CuteFurry",
|
18 |
+
"digiplay/MengX_Mix_Fantasy_v4", #689
|
19 |
+
"Yntec/theallysMixIIChurned", #694
|
20 |
+
"digiplay/MengX_Mix_Real_v3",
|
21 |
+
"Yntec/BrainDance", #693
|
22 |
+
"digiplay/ARRealVX1.1",
|
23 |
+
"Yntec/Remedy", #697
|
24 |
+
"digiplay/PlanetBumix_v1",
|
25 |
+
"Yntec/Paramount",
|
26 |
+
"digiplay/Yuzu_v1.1", #688
|
27 |
+
"Yntec/Playground", #690
|
28 |
+
"digiplay/AM-mix1",
|
29 |
+
"Yntec/Analog",
|
30 |
+
"digiplay/MeinaPastel_v1",
|
31 |
+
"Yntec/Tea", #687
|
32 |
+
"digiplay/AingDiffusion7.5",
|
33 |
+
"Yntec/StableDiffusion768", #686
|
34 |
+
"digiplay/perfectlevel10", #685
|
35 |
"Yntec/IdleFancy",
|
36 |
+
"digiplay/Shadir_Diffusion_AR_v2.1_fp16_test1",
|
37 |
+
"Yntec/NyankoMotsiX",
|
38 |
"digiplay/GhostMixV1.2VAE",
|
39 |
+
"Yntec/DreamWorksRemix",
|
40 |
"digiplay/LuckyStrikeMix1.05_Lovelylady",
|
41 |
"Yntec/Looking-Glass",
|
42 |
"digiplay/AbsoluteReality_v1.0_diffusers",
|
|
|
133 |
"digiplay/Photon_v1",
|
134 |
"Yntec/IncredibleWorld",
|
135 |
"digiplay/WolfSystems_v1",
|
|
|
136 |
"Yntec/TheDarkNight",
|
|
|
137 |
"Yntec/Cryptids",
|
|
|
138 |
"Yntec/Tantrum",
|
|
|
139 |
"Yntec/CutesyAnime",
|
|
|
140 |
"Yntec/HellSKitchen",
|
|
|
141 |
"Yntec/Kitsch-In-Sync",
|
|
|
142 |
"Yntec/La-dee-dah-.-_",
|
143 |
"Yntec/HELLmix",
|
144 |
"Yntec/AnalogMadness4",
|
|
|
344 |
"Yntec/NovelAI",
|
345 |
"Yntec/NovelAIRemix",
|
346 |
"Yntec/Hiten",
|
347 |
+
"digiplay/CamelliaMIx_2.5D_v1", #695
|
348 |
+
"digiplay/CamelliaMIx_2.5D_diffusers", #692
|
349 |
"digiplay/fantasticmix2.5D_v4.0",
|
350 |
"digiplay/majicMIX_realistic_v1",
|
351 |
"digiplay/RunDiffusionFXPhotorealistic_v1",
|
|
|
362 |
"digiplay/AingDiffusion8.5",
|
363 |
"digiplay/AingDiffusion6",
|
364 |
"digiplay/AingDiffusion8.17",
|
365 |
+
"digiplay/AingDiffusion9.2",
|
|
|
366 |
"digiplay/MeinaMix_v11",
|
367 |
+
"AIARTCHAN/AbyssHellHero",
|
368 |
+
"digiplay/MeinaMix_v7",
|
369 |
"digiplay/futaall_v8_VAE_diffusers",
|
370 |
"digiplay/Sudachi_diffusers",
|
|
|
371 |
"digiplay/CleanLinearMix_nsfw",
|
372 |
"digiplay/majicMIX_realistic_v4",
|
373 |
"digiplay/VersaMix_base_diffusers",
|
|
|
589 |
##"hakurei/waifu-diffusion",
|
590 |
"WarriorMama777/AbyssOrangeMix2",
|
591 |
"stablediffusionapi/abyssorangemix2nsfw", #200
|
592 |
+
##"cag/anything-v3-1",
|
593 |
"iZELX1/Anything-V3-X",
|
594 |
"xyn-ai/anything-v4.0", #"andite/anything-v4.0",
|
595 |
#"D1b4l4p/AsianMix",
|
|
|
600 |
"stablediffusionapi/dark-sushi-mix",
|
601 |
"joachimsallstrom/Double-Exposure-Diffusion",
|
602 |
"eimiss/EimisAnimeDiffusion_1.0v",
|
603 |
+
#"prompthero/funko-diffusion",
|
604 |
"nitrosocke/Ghibli-Diffusion",
|
605 |
###"iZELX1/Grapefruit",
|
606 |
"xiaolxl/GuoFeng3",
|
|
|
692 |
"TheLastBen/hrrzg-style-768px", #246
|
693 |
"nevernotsean/IllustratedPaperMini", #242
|
694 |
"dallinmackay/JWST-Deep-Space-diffusion",
|
695 |
+
#"prompthero/linkedin-diffusion",
|
696 |
"mann-e/mann-e_4_rev-0-1", #210
|
697 |
"ItsJayQz/Marvel_WhatIf_Diffusion", #206
|
698 |
"yuanbit/max-15-1e-6-1500",
|
|
|
704 |
"Fictiverse/Stable_Diffusion_PaperCut_Model",
|
705 |
"bsuutari/path_to_saved_model",
|
706 |
"bsuutari/path_to_saved_model_rafa",
|
|
|
707 |
"lambdalabs/sd-pokemon-diffusers", #202
|
708 |
"prompthero/poolsuite-diffusion",
|
709 |
"digiplay/RealismEngine_v1",
|
|
|
1469 |
gr.Interface.load(f"models/{models[676]}",live=True,preprocess=False),
|
1470 |
gr.Interface.load(f"models/{models[677]}",live=True,preprocess=False),
|
1471 |
gr.Interface.load(f"models/{models[678]}",live=True,preprocess=False),
|
1472 |
+
gr.Interface.load(f"models/{models[679]}",live=True,preprocess=False),
|
1473 |
+
|
1474 |
+
gr.Interface.load(f"models/{models[680]}",live=True,preprocess=False),
|
1475 |
+
gr.Interface.load(f"models/{models[681]}",live=True,preprocess=False),
|
1476 |
+
gr.Interface.load(f"models/{models[682]}",live=True,preprocess=False),
|
1477 |
+
gr.Interface.load(f"models/{models[683]}",live=True,preprocess=False),
|
1478 |
+
gr.Interface.load(f"models/{models[684]}",live=True,preprocess=False),
|
1479 |
+
gr.Interface.load(f"models/{models[685]}",live=True,preprocess=False),
|
1480 |
+
gr.Interface.load(f"models/{models[686]}",live=True,preprocess=False),
|
1481 |
+
gr.Interface.load(f"models/{models[687]}",live=True,preprocess=False),
|
1482 |
+
gr.Interface.load(f"models/{models[688]}",live=True,preprocess=False),
|
1483 |
+
gr.Interface.load(f"models/{models[689]}",live=True,preprocess=False),
|
1484 |
+
|
1485 |
+
gr.Interface.load(f"models/{models[690]}",live=True,preprocess=False),
|
1486 |
+
gr.Interface.load(f"models/{models[691]}",live=True,preprocess=False),
|
1487 |
+
gr.Interface.load(f"models/{models[692]}",live=True,preprocess=False),
|
1488 |
+
gr.Interface.load(f"models/{models[693]}",live=True,preprocess=False),
|
1489 |
+
gr.Interface.load(f"models/{models[694]}",live=True,preprocess=False),
|
1490 |
+
gr.Interface.load(f"models/{models[695]}",live=True,preprocess=False),
|
1491 |
+
gr.Interface.load(f"models/{models[696]}",live=True,preprocess=False),
|
1492 |
+
gr.Interface.load(f"models/{models[697]}",live=True,preprocess=False),
|
1493 |
+
gr.Interface.load(f"models/{models[698]}",live=True,preprocess=False),
|
1494 |
+
gr.Interface.load(f"models/{models[699]}",live=True,preprocess=False),
|
1495 |
+
|
1496 |
+
#Because there's a model 0, to know the number of models you add 1 to {models[n]}
|
1497 |
]
|
1498 |
|
1499 |
def text_it1(inputs,text_gen1=text_gen1):
|
|
|
1571 |
</body>
|
1572 |
</div>
|
1573 |
<p style="margin-bottom: 1px; color: #ffaa66;">
|
1574 |
+
<h3>Blitz Diffusion - 700 Stable Diffusion models, but why? For your enjoyment!</h3></p>
|
1575 |
+
<br><div class="wrapper">3.26 <img src="https://huggingface.co/Yntec/DucHaitenLofi/resolve/main/NEW.webp" alt="NEW!" style="width:32px;height:16px;">Toys to play with: 22 new models added since last update!</div>
|
1576 |
<p style="margin-bottom: 1px; font-size: 98%">
|
1577 |
<br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4></p>
|
1578 |
<p style="margin-bottom: 1px; color: #ffffff;">
|
1579 |
+
<br><div class="footer">Generate 6 images from 1 prompt at the <a href="https://huggingface.co/spaces/Yntec/PrintingPress">PrintingPress</a>!
|
1580 |
+
</p></p>
|
1581 |
</div>
|
1582 |
""")
|
1583 |
with gr.Row():
|