Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import sys
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
-
|
8 |
"gsdf/Counterfeit-V2.0",
|
9 |
"stablediffusionapi/counterfeit-v30",
|
10 |
"dreamlike-art/dreamlike-anime-1.0",
|
@@ -127,6 +127,112 @@ text_gen8=gr.Interface.load("spaces/Omnibus/MagicPrompt-Stable-Diffusion_link")
|
|
127 |
models2=[
|
128 |
gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False),
|
129 |
gr.Interface.load(f"models/{models[1]}",live=True,preprocess=False),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
|
131 |
|
132 |
]
|
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
+
"stablediffusionapi/anything-v5",
|
8 |
"gsdf/Counterfeit-V2.0",
|
9 |
"stablediffusionapi/counterfeit-v30",
|
10 |
"dreamlike-art/dreamlike-anime-1.0",
|
|
|
127 |
models2=[
|
128 |
gr.Interface.load(f"models/{models[0]}",live=True,preprocess=False),
|
129 |
gr.Interface.load(f"models/{models[1]}",live=True,preprocess=False),
|
130 |
+
gr.Interface.load(f"models/{models[2]}",live=True,preprocess=False),
|
131 |
+
gr.Interface.load(f"models/{models[3]}",live=True,preprocess=False),
|
132 |
+
gr.Interface.load(f"models/{models[4]}",live=True,preprocess=False),
|
133 |
+
gr.Interface.load(f"models/{models[5]}",live=True,preprocess=False),
|
134 |
+
gr.Interface.load(f"models/{models[6]}",live=True,preprocess=False),
|
135 |
+
gr.Interface.load(f"models/{models[7]}",live=True,preprocess=False),
|
136 |
+
gr.Interface.load(f"models/{models[8]}",live=True,preprocess=False),
|
137 |
+
gr.Interface.load(f"models/{models[9]}",live=True,preprocess=False),
|
138 |
+
gr.Interface.load(f"models/{models[10]}",live=True,preprocess=False),
|
139 |
+
gr.Interface.load(f"models/{models[11]}",live=True,preprocess=False),
|
140 |
+
gr.Interface.load(f"models/{models[12]}",live=True,preprocess=False),
|
141 |
+
gr.Interface.load(f"models/{models[13]}",live=True,preprocess=False),
|
142 |
+
gr.Interface.load(f"models/{models[14]}",live=True,preprocess=False),
|
143 |
+
gr.Interface.load(f"models/{models[15]}",live=True,preprocess=False),
|
144 |
+
gr.Interface.load(f"models/{models[16]}",live=True,preprocess=False),
|
145 |
+
gr.Interface.load(f"models/{models[17]}",live=True,preprocess=False),
|
146 |
+
gr.Interface.load(f"models/{models[18]}",live=True,preprocess=False),
|
147 |
+
gr.Interface.load(f"models/{models[19]}",live=True,preprocess=False),
|
148 |
+
gr.Interface.load(f"models/{models[20]}",live=True,preprocess=False),
|
149 |
+
gr.Interface.load(f"models/{models[21]}",live=True,preprocess=False),
|
150 |
+
gr.Interface.load(f"models/{models[22]}",live=True,preprocess=False),
|
151 |
+
gr.Interface.load(f"models/{models[23]}",live=True,preprocess=False),
|
152 |
+
gr.Interface.load(f"models/{models[24]}",live=True,preprocess=False),
|
153 |
+
gr.Interface.load(f"models/{models[25]}",live=True,preprocess=False),
|
154 |
+
gr.Interface.load(f"models/{models[26]}",live=True,preprocess=False),
|
155 |
+
gr.Interface.load(f"models/{models[27]}",live=True,preprocess=False),
|
156 |
+
gr.Interface.load(f"models/{models[28]}",live=True,preprocess=False),
|
157 |
+
gr.Interface.load(f"models/{models[29]}",live=True,preprocess=False),
|
158 |
+
gr.Interface.load(f"models/{models[30]}",live=True,preprocess=False),
|
159 |
+
gr.Interface.load(f"models/{models[31]}",live=True,preprocess=False),
|
160 |
+
gr.Interface.load(f"models/{models[32]}",live=True,preprocess=False),
|
161 |
+
gr.Interface.load(f"models/{models[33]}",live=True,preprocess=False),
|
162 |
+
gr.Interface.load(f"models/{models[34]}",live=True,preprocess=False),
|
163 |
+
gr.Interface.load(f"models/{models[35]}",live=True,preprocess=False),
|
164 |
+
gr.Interface.load(f"models/{models[36]}",live=True,preprocess=False),
|
165 |
+
gr.Interface.load(f"models/{models[37]}",live=True,preprocess=False),
|
166 |
+
gr.Interface.load(f"models/{models[38]}",live=True,preprocess=False),
|
167 |
+
gr.Interface.load(f"models/{models[39]}",live=True,preprocess=False),
|
168 |
+
gr.Interface.load(f"models/{models[40]}",live=True,preprocess=False),
|
169 |
+
gr.Interface.load(f"models/{models[41]}",live=True,preprocess=False),
|
170 |
+
gr.Interface.load(f"models/{models[42]}",live=True,preprocess=False),
|
171 |
+
gr.Interface.load(f"models/{models[43]}",live=True,preprocess=False),
|
172 |
+
gr.Interface.load(f"models/{models[44]}",live=True,preprocess=False),
|
173 |
+
gr.Interface.load(f"models/{models[45]}",live=True,preprocess=False),
|
174 |
+
gr.Interface.load(f"models/{models[46]}",live=True,preprocess=False),
|
175 |
+
gr.Interface.load(f"models/{models[47]}",live=True,preprocess=False),
|
176 |
+
gr.Interface.load(f"models/{models[48]}",live=True,preprocess=False),
|
177 |
+
gr.Interface.load(f"models/{models[49]}",live=True,preprocess=False),
|
178 |
+
gr.Interface.load(f"models/{models[50]}",live=True,preprocess=False),
|
179 |
+
gr.Interface.load(f"models/{models[51]}",live=True,preprocess=False),
|
180 |
+
gr.Interface.load(f"models/{models[52]}",live=True,preprocess=False),
|
181 |
+
gr.Interface.load(f"models/{models[53]}",live=True,preprocess=False),
|
182 |
+
gr.Interface.load(f"models/{models[54]}",live=True,preprocess=False),
|
183 |
+
gr.Interface.load(f"models/{models[55]}",live=True,preprocess=False),
|
184 |
+
gr.Interface.load(f"models/{models[56]}",live=True,preprocess=False),
|
185 |
+
gr.Interface.load(f"models/{models[57]}",live=True,preprocess=False),
|
186 |
+
gr.Interface.load(f"models/{models[58]}",live=True,preprocess=False),
|
187 |
+
gr.Interface.load(f"models/{models[59]}",live=True,preprocess=False),
|
188 |
+
gr.Interface.load(f"models/{models[60]}",live=True,preprocess=False),
|
189 |
+
gr.Interface.load(f"models/{models[61]}",live=True,preprocess=False),
|
190 |
+
gr.Interface.load(f"models/{models[62]}",live=True,preprocess=False),
|
191 |
+
gr.Interface.load(f"models/{models[63]}",live=True,preprocess=False),
|
192 |
+
gr.Interface.load(f"models/{models[64]}",live=True,preprocess=False),
|
193 |
+
gr.Interface.load(f"models/{models[65]}",live=True,preprocess=False),
|
194 |
+
gr.Interface.load(f"models/{models[66]}",live=True,preprocess=False),
|
195 |
+
gr.Interface.load(f"models/{models[67]}",live=True,preprocess=False),
|
196 |
+
gr.Interface.load(f"models/{models[68]}",live=True,preprocess=False),
|
197 |
+
gr.Interface.load(f"models/{models[69]}",live=True,preprocess=False),
|
198 |
+
gr.Interface.load(f"models/{models[70]}",live=True,preprocess=False),
|
199 |
+
gr.Interface.load(f"models/{models[71]}",live=True,preprocess=False),
|
200 |
+
gr.Interface.load(f"models/{models[72]}",live=True,preprocess=False),
|
201 |
+
gr.Interface.load(f"models/{models[73]}",live=True,preprocess=False),
|
202 |
+
gr.Interface.load(f"models/{models[74]}",live=True,preprocess=False),
|
203 |
+
gr.Interface.load(f"models/{models[75]}",live=True,preprocess=False),
|
204 |
+
gr.Interface.load(f"models/{models[76]}",live=True,preprocess=False),
|
205 |
+
gr.Interface.load(f"models/{models[77]}",live=True,preprocess=False),
|
206 |
+
gr.Interface.load(f"models/{models[78]}",live=True,preprocess=False),
|
207 |
+
gr.Interface.load(f"models/{models[79]}",live=True,preprocess=False),
|
208 |
+
gr.Interface.load(f"models/{models[80]}",live=True,preprocess=False),
|
209 |
+
gr.Interface.load(f"models/{models[81]}",live=True,preprocess=False),
|
210 |
+
gr.Interface.load(f"models/{models[82]}",live=True,preprocess=False),
|
211 |
+
gr.Interface.load(f"models/{models[83]}",live=True,preprocess=False),
|
212 |
+
gr.Interface.load(f"models/{models[84]}",live=True,preprocess=False),
|
213 |
+
gr.Interface.load(f"models/{models[85]}",live=True,preprocess=False),
|
214 |
+
gr.Interface.load(f"models/{models[86]}",live=True,preprocess=False),
|
215 |
+
gr.Interface.load(f"models/{models[87]}",live=True,preprocess=False),
|
216 |
+
gr.Interface.load(f"models/{models[88]}",live=True,preprocess=False),
|
217 |
+
gr.Interface.load(f"models/{models[89]}",live=True,preprocess=False),
|
218 |
+
gr.Interface.load(f"models/{models[90]}",live=True,preprocess=False),
|
219 |
+
gr.Interface.load(f"models/{models[91]}",live=True,preprocess=False),
|
220 |
+
gr.Interface.load(f"models/{models[92]}",live=True,preprocess=False),
|
221 |
+
gr.Interface.load(f"models/{models[93]}",live=True,preprocess=False),
|
222 |
+
gr.Interface.load(f"models/{models[94]}",live=True,preprocess=False),
|
223 |
+
gr.Interface.load(f"models/{models[95]}",live=True,preprocess=False),
|
224 |
+
gr.Interface.load(f"models/{models[96]}",live=True,preprocess=False),
|
225 |
+
gr.Interface.load(f"models/{models[97]}",live=True,preprocess=False),
|
226 |
+
gr.Interface.load(f"models/{models[98]}",live=True,preprocess=False),
|
227 |
+
gr.Interface.load(f"models/{models[99]}",live=True,preprocess=False),
|
228 |
+
gr.Interface.load(f"models/{models[100]}",live=True,preprocess=False),
|
229 |
+
gr.Interface.load(f"models/{models[101]}",live=True,preprocess=False),
|
230 |
+
gr.Interface.load(f"models/{models[102]}",live=True,preprocess=False),
|
231 |
+
gr.Interface.load(f"models/{models[103]}",live=True,preprocess=False),
|
232 |
+
gr.Interface.load(f"models/{models[104]}",live=True,preprocess=False),
|
233 |
+
gr.Interface.load(f"models/{models[105]}",live=True,preprocess=False),
|
234 |
+
gr.Interface.load(f"models/{models[106]}",live=True,preprocess=False),
|
235 |
+
gr.Interface.load(f"models/{models[107]}",live=True,preprocess=False),
|
236 |
|
237 |
|
238 |
]
|