Spaces:
Running
Running
Update app.py
Browse filesLeaving only one model so it builds faster.
app.py
CHANGED
@@ -4,32 +4,8 @@ import sys
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
-
"
|
8 |
-
|
9 |
-
"claudfuen/photorealistic-fuen-v1",
|
10 |
-
"naclbit/trinart_stable_diffusion_v2",
|
11 |
-
"nitrosocke/Arcane-Diffusion",
|
12 |
-
"nitrosocke/archer-diffusion",
|
13 |
-
"nitrosocke/elden-ring-diffusion",
|
14 |
-
"nitrosocke/redshift-diffusion",
|
15 |
-
"nitrosocke/spider-verse-diffusion",
|
16 |
-
"nitrosocke/mo-di-diffusion",
|
17 |
-
"nitrosocke/classic-anim-diffusion",
|
18 |
-
"dreamlike-art/dreamlike-diffusion-1.0",
|
19 |
-
"dreamlike-art/dreamlike-photoreal-2.0",
|
20 |
-
"wavymulder/wavyfusion",
|
21 |
-
"wavymulder/Analog-Diffusion",
|
22 |
-
"prompthero/midjourney-v4-diffusion",
|
23 |
-
"prompthero/openjourney",
|
24 |
-
"dallinmackay/Van-Gogh-diffusion",
|
25 |
-
"hakurei/waifu-diffusion",
|
26 |
-
"DGSpitzer/Cyberpunk-Anime-Diffusion",
|
27 |
-
"Fictiverse/Stable_Diffusion_BalloonArt_Model",
|
28 |
-
"dallinmackay/Tron-Legacy-diffusion",
|
29 |
-
"AstraliteHeart/pony-diffusion",
|
30 |
-
"nousr/robo-diffusion",
|
31 |
-
"CompVis/stable-diffusion-v1-4",
|
32 |
-
|
33 |
]
|
34 |
current_model = models[0]
|
35 |
|
@@ -44,30 +20,7 @@ text_gen8=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link")
|
|
44 |
|
45 |
models2=[
|
46 |
gr.Interface.load(f"models/{models[0]}",live=True,preprocess=True),
|
47 |
-
|
48 |
-
gr.Interface.load(f"models/{models[2]}",live=True,preprocess=True),
|
49 |
-
gr.Interface.load(f"models/{models[3]}",live=True,preprocess=True),
|
50 |
-
gr.Interface.load(f"models/{models[4]}",live=True,preprocess=True),
|
51 |
-
gr.Interface.load(f"models/{models[5]}",live=True,preprocess=True),
|
52 |
-
gr.Interface.load(f"models/{models[6]}",live=True,preprocess=True),
|
53 |
-
gr.Interface.load(f"models/{models[7]}",live=True,preprocess=True),
|
54 |
-
gr.Interface.load(f"models/{models[8]}",live=True,preprocess=True),
|
55 |
-
gr.Interface.load(f"models/{models[9]}",live=True,preprocess=True),
|
56 |
-
gr.Interface.load(f"models/{models[10]}",live=True,preprocess=True),
|
57 |
-
gr.Interface.load(f"models/{models[11]}",live=True,preprocess=True),
|
58 |
-
gr.Interface.load(f"models/{models[12]}",live=True,preprocess=True),
|
59 |
-
gr.Interface.load(f"models/{models[13]}",live=True,preprocess=True),
|
60 |
-
gr.Interface.load(f"models/{models[14]}",live=True,preprocess=True),
|
61 |
-
gr.Interface.load(f"models/{models[15]}",live=True,preprocess=True),
|
62 |
-
gr.Interface.load(f"models/{models[16]}",live=True,preprocess=True),
|
63 |
-
gr.Interface.load(f"models/{models[17]}",live=True,preprocess=True),
|
64 |
-
gr.Interface.load(f"models/{models[18]}",live=True,preprocess=True),
|
65 |
-
gr.Interface.load(f"models/{models[19]}",live=True,preprocess=True),
|
66 |
-
gr.Interface.load(f"models/{models[20]}",live=True,preprocess=True),
|
67 |
-
gr.Interface.load(f"models/{models[21]}",live=True,preprocess=True),
|
68 |
-
gr.Interface.load(f"models/{models[22]}",live=True,preprocess=True),
|
69 |
-
gr.Interface.load(f"models/{models[23]}",live=True,preprocess=True),
|
70 |
-
gr.Interface.load(f"models/{models[24]}",live=True,preprocess=True),
|
71 |
|
72 |
]
|
73 |
|
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
+
"darkstorm2150/Protogen_v2.2_Official_Release",
|
8 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
]
|
10 |
current_model = models[0]
|
11 |
|
|
|
20 |
|
21 |
models2=[
|
22 |
gr.Interface.load(f"models/{models[0]}",live=True,preprocess=True),
|
23 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
]
|
26 |
|