Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,10 @@ import sys
|
|
| 4 |
from pathlib import Path
|
| 5 |
|
| 6 |
models = [
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
"Yntec/BaronMix",
|
| 8 |
"digiplay/majicMIX_realistic_v1",
|
| 9 |
"Yntec/ChilloutMix",
|
|
@@ -37,9 +41,7 @@ models = [
|
|
| 37 |
"Yntec/theAllysMixIIIRevolutions",
|
| 38 |
"digiplay/RunDiffusionFXPhotorealistic_v1",
|
| 39 |
"Yntec/Synthwave",
|
| 40 |
-
"digiplay/AingDiffusion8.17",
|
| 41 |
"Yntec/CrystalClearRemix",
|
| 42 |
-
"digiplay/CleanLinearMix",
|
| 43 |
"Yntec/CrystalClear",
|
| 44 |
"Yntec/SCMix",
|
| 45 |
"Yntec/Hassaku",
|
|
@@ -219,6 +221,7 @@ models = [
|
|
| 219 |
"Yntec/NovelAI",
|
| 220 |
"Yntec/NovelAIRemix",
|
| 221 |
"Yntec/Hiten",
|
|
|
|
| 222 |
"digiplay/MeinaPastel_v1",
|
| 223 |
"AIARTCHAN/AbyssHellHero",
|
| 224 |
"digiplay/MeinaMix_v11",
|
|
@@ -1232,9 +1235,11 @@ models2=[
|
|
| 1232 |
gr.Interface.load(f"models/{models[574]}",live=True,preprocess=False),
|
| 1233 |
gr.Interface.load(f"models/{models[575]}",live=True,preprocess=False),
|
| 1234 |
gr.Interface.load(f"models/{models[576]}",live=True,preprocess=False),
|
|
|
|
|
|
|
|
|
|
| 1235 |
|
| 1236 |
#Because there's a model 0, to know the number of models you add 1 to {models[n]}
|
| 1237 |
-
|
| 1238 |
]
|
| 1239 |
|
| 1240 |
def text_it1(inputs,text_gen1=text_gen1):
|
|
@@ -1301,7 +1306,7 @@ with gr.Blocks(css=css) as myface:
|
|
| 1301 |
</body>
|
| 1302 |
</div>
|
| 1303 |
<p style="margin-bottom: 9px; color: #aaaaaa;">
|
| 1304 |
-
<h3>Top
|
| 1305 |
</div>
|
| 1306 |
""")
|
| 1307 |
with gr.Row():
|
|
|
|
| 4 |
from pathlib import Path
|
| 5 |
|
| 6 |
models = [
|
| 7 |
+
"Yntec/FotoPhoto",
|
| 8 |
+
"digiplay/AingDiffusion6",
|
| 9 |
+
"Yntec/Reliberate",
|
| 10 |
+
"digiplay/CleanLinearMix",
|
| 11 |
"Yntec/BaronMix",
|
| 12 |
"digiplay/majicMIX_realistic_v1",
|
| 13 |
"Yntec/ChilloutMix",
|
|
|
|
| 41 |
"Yntec/theAllysMixIIIRevolutions",
|
| 42 |
"digiplay/RunDiffusionFXPhotorealistic_v1",
|
| 43 |
"Yntec/Synthwave",
|
|
|
|
| 44 |
"Yntec/CrystalClearRemix",
|
|
|
|
| 45 |
"Yntec/CrystalClear",
|
| 46 |
"Yntec/SCMix",
|
| 47 |
"Yntec/Hassaku",
|
|
|
|
| 221 |
"Yntec/NovelAI",
|
| 222 |
"Yntec/NovelAIRemix",
|
| 223 |
"Yntec/Hiten",
|
| 224 |
+
"digiplay/AingDiffusion8.17",
|
| 225 |
"digiplay/MeinaPastel_v1",
|
| 226 |
"AIARTCHAN/AbyssHellHero",
|
| 227 |
"digiplay/MeinaMix_v11",
|
|
|
|
| 1235 |
gr.Interface.load(f"models/{models[574]}",live=True,preprocess=False),
|
| 1236 |
gr.Interface.load(f"models/{models[575]}",live=True,preprocess=False),
|
| 1237 |
gr.Interface.load(f"models/{models[576]}",live=True,preprocess=False),
|
| 1238 |
+
gr.Interface.load(f"models/{models[577]}",live=True,preprocess=False),
|
| 1239 |
+
gr.Interface.load(f"models/{models[578]}",live=True,preprocess=False),
|
| 1240 |
+
gr.Interface.load(f"models/{models[579]}",live=True,preprocess=False),
|
| 1241 |
|
| 1242 |
#Because there's a model 0, to know the number of models you add 1 to {models[n]}
|
|
|
|
| 1243 |
]
|
| 1244 |
|
| 1245 |
def text_it1(inputs,text_gen1=text_gen1):
|
|
|
|
| 1306 |
</body>
|
| 1307 |
</div>
|
| 1308 |
<p style="margin-bottom: 9px; color: #aaaaaa;">
|
| 1309 |
+
<h3>Top 580 Blitz Diffusion - 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>
|
| 1310 |
</div>
|
| 1311 |
""")
|
| 1312 |
with gr.Row():
|