Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,20 @@ import sys
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"Yntec/Fanatic", #758
|
8 |
-
"digiplay/fantastel_V1", #759
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
"Yntec/Luxury", #750
|
10 |
"digiplay/insaneRealistic_v1",
|
11 |
"Yntec/EpicMadness", #751
|
@@ -384,7 +396,6 @@ models = [
|
|
384 |
"Yntec/RainbowDreams",
|
385 |
"Yntec/rainbowpatch",
|
386 |
"Yntec/DucHaiten-Retro-Diffusers",
|
387 |
-
"Yntec/ElldrethsRetroMix_Diffusers",
|
388 |
"Yntec/sexyToons",
|
389 |
"Yntec/photoMovieX/",
|
390 |
"dreamlike-art/dreamlike-photoreal-2.0",
|
@@ -577,7 +588,6 @@ models = [
|
|
577 |
"stablediffusionapi/majicmixv5", #192
|
578 |
"digiplay/mecha_musume_vivid_soft",
|
579 |
"digiplay/MiracleMixGlitter_v1",
|
580 |
-
"digiplay/MixTape_RocknRoll_v3punk_bake_fp16",
|
581 |
"digiplay/NextPhoto_v1",
|
582 |
"digiplay/Noosphere_v3",
|
583 |
"digiplay/PeachMixsRelistic_R0", #262
|
@@ -792,6 +802,7 @@ models = [
|
|
792 |
"CompVis/stable-diffusion-v1-2", #208
|
793 |
"CompVis/stable-diffusion-v1-1", #209
|
794 |
]
|
|
|
795 |
current_model = models[0]
|
796 |
|
797 |
|
@@ -1616,6 +1627,17 @@ models2=[
|
|
1616 |
gr.Interface.load(f"models/{models[756]}",live=True,preprocess=False),
|
1617 |
gr.Interface.load(f"models/{models[757]}",live=True,preprocess=False),
|
1618 |
gr.Interface.load(f"models/{models[758]}",live=True,preprocess=False),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1619 |
#gr.Interface.load(f"models/{models[719]}",live=True,preprocess=False),
|
1620 |
|
1621 |
|
@@ -1697,8 +1719,8 @@ with gr.Blocks(css=css) as myface:
|
|
1697 |
</body>
|
1698 |
</div>
|
1699 |
<p style="margin-bottom: 1px; color: #ffaa66;">
|
1700 |
-
<h3>Blitz Diffusion -
|
1701 |
-
<br><div class="wrapper">5.
|
1702 |
<p style="margin-bottom: 1px; font-size: 98%">
|
1703 |
<br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4></p>
|
1704 |
<p style="margin-bottom: 1px; color: #ffffff;">
|
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
+
"Yntec/ModernDisney" #764
|
8 |
+
"digiplay/MRMD_0505", #769
|
9 |
+
"Yntec/IsThisDisney", #767
|
10 |
+
"digiplay/MixTape_RocknRoll_v3punk_bake_fp16",
|
11 |
+
"Yntec/RetroArt", #760
|
12 |
+
"digiplay/YabaLMixAnimeRealistic_V1.0_VAE", #765
|
13 |
"Yntec/Fanatic", #758
|
14 |
+
"digiplay/fantastel_V1", #759
|
15 |
+
"Yntec/Mo-Di-Diffusion-768", #768
|
16 |
+
"digiplay/bluePencil_v09b", #766
|
17 |
+
"Yntec/AnythingV4.5.6.7.8", #763
|
18 |
+
"digiplay/majicMIX_realistic_v7", #761
|
19 |
+
"Yntec/ElldrethsRetroMix", #4K
|
20 |
+
"digiplay/LemonCreami", #762
|
21 |
"Yntec/Luxury", #750
|
22 |
"digiplay/insaneRealistic_v1",
|
23 |
"Yntec/EpicMadness", #751
|
|
|
396 |
"Yntec/RainbowDreams",
|
397 |
"Yntec/rainbowpatch",
|
398 |
"Yntec/DucHaiten-Retro-Diffusers",
|
|
|
399 |
"Yntec/sexyToons",
|
400 |
"Yntec/photoMovieX/",
|
401 |
"dreamlike-art/dreamlike-photoreal-2.0",
|
|
|
588 |
"stablediffusionapi/majicmixv5", #192
|
589 |
"digiplay/mecha_musume_vivid_soft",
|
590 |
"digiplay/MiracleMixGlitter_v1",
|
|
|
591 |
"digiplay/NextPhoto_v1",
|
592 |
"digiplay/Noosphere_v3",
|
593 |
"digiplay/PeachMixsRelistic_R0", #262
|
|
|
802 |
"CompVis/stable-diffusion-v1-2", #208
|
803 |
"CompVis/stable-diffusion-v1-1", #209
|
804 |
]
|
805 |
+
|
806 |
current_model = models[0]
|
807 |
|
808 |
|
|
|
1627 |
gr.Interface.load(f"models/{models[756]}",live=True,preprocess=False),
|
1628 |
gr.Interface.load(f"models/{models[757]}",live=True,preprocess=False),
|
1629 |
gr.Interface.load(f"models/{models[758]}",live=True,preprocess=False),
|
1630 |
+
gr.Interface.load(f"models/{models[759]}",live=True,preprocess=False),
|
1631 |
+
|
1632 |
+
gr.Interface.load(f"models/{models[760]}",live=True,preprocess=False),
|
1633 |
+
gr.Interface.load(f"models/{models[761]}",live=True,preprocess=False),
|
1634 |
+
gr.Interface.load(f"models/{models[762]}",live=True,preprocess=False),
|
1635 |
+
gr.Interface.load(f"models/{models[763]}",live=True,preprocess=False),
|
1636 |
+
gr.Interface.load(f"models/{models[764]}",live=True,preprocess=False),
|
1637 |
+
gr.Interface.load(f"models/{models[765]}",live=True,preprocess=False),
|
1638 |
+
gr.Interface.load(f"models/{models[766]}",live=True,preprocess=False),
|
1639 |
+
gr.Interface.load(f"models/{models[767]}",live=True,preprocess=False),
|
1640 |
+
gr.Interface.load(f"models/{models[768]}",live=True,preprocess=False),
|
1641 |
#gr.Interface.load(f"models/{models[719]}",live=True,preprocess=False),
|
1642 |
|
1643 |
|
|
|
1719 |
</body>
|
1720 |
</div>
|
1721 |
<p style="margin-bottom: 1px; color: #ffaa66;">
|
1722 |
+
<h3>Blitz Diffusion - 769 Stable Diffusion models, but why? For your enjoyment!</h3></p>
|
1723 |
+
<br><div class="wrapper">5.17 <img src="https://huggingface.co/Yntec/DucHaitenLofi/resolve/main/NEW.webp" alt="NEW!" style="width:32px;height:16px;">Toys to play with: RetroArt, majicMIXrealistic7, LemonCreami, AnythingV4.5, ModernDisney, YabaLMixAnimeRealistic, bluePencilV09b, IsThisDisney, Mo-Di-Diffusion-768 and MRMD_0505!</div>
|
1724 |
<p style="margin-bottom: 1px; font-size: 98%">
|
1725 |
<br><h4>If a model is already loaded each new image takes less than 20 seconds to generate!</h4></p>
|
1726 |
<p style="margin-bottom: 1px; color: #ffffff;">
|