Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,12 @@ import sys
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
"Yntec/Tantrum",
|
8 |
"digiplay/MengX_Mix_Real_v3",
|
9 |
"Yntec/CutesyAnime",
|
@@ -47,7 +53,6 @@ models = [
|
|
47 |
"Yntec/AnalogMadness",
|
48 |
"digiplay/ya3_VAE",
|
49 |
"Yntec/IronCatFateToons",
|
50 |
-
"digiplay/fantasticmix_v65_test",
|
51 |
"Yntec/samaritan3dCartoon2MVAE",
|
52 |
"Yntec/Crystalwave", #1k
|
53 |
"Yntec/Synthwave",
|
@@ -236,6 +241,7 @@ models = [
|
|
236 |
"Yntec/NovelAI",
|
237 |
"Yntec/NovelAIRemix",
|
238 |
"Yntec/Hiten",
|
|
|
239 |
"digiplay/AingDiffusion8",
|
240 |
"digiplay/AingDiffusion9",
|
241 |
"digiplay/AingDiffusion8.5",
|
@@ -271,14 +277,14 @@ models = [
|
|
271 |
"stablediffusionapi/icomix-2",
|
272 |
"digiplay/Realisian_v1",
|
273 |
"digiplay/m3u", #263
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
"Hemlok/QuinceMix",
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
"digiplay/PhotoSomnia_vFinal",
|
283 |
"stablediffusionapi/all-526-animated",
|
284 |
"digiplay/polla_mix_2.5D",
|
@@ -324,6 +330,7 @@ models = [
|
|
324 |
"digiplay/realidefmix_3.5VAE",
|
325 |
"digiplay/realmixUnrealjourney_v1",
|
326 |
"digiplay/SyncMix_v1.5",
|
|
|
327 |
"digiplay/TWingshadow_v1.2",
|
328 |
"digiplay/V3_by_Hans_Asian",
|
329 |
"digiplay/whatamix_v1",
|
@@ -335,7 +342,6 @@ models = [
|
|
335 |
"digiplay/breakdomainrealistic_R2333",
|
336 |
"digiplay/CCTV2.5d_v1", #219
|
337 |
"digiplay/ChikMix_V3", #253
|
338 |
-
"stablediffusionapi/chilledremixsazyou-r", #195
|
339 |
"digiplay/CityEdge_StyleMix_v1.44",
|
340 |
"stablediffusionapi/dalcefopainting2", #199
|
341 |
"digiplay/EdisonNilMix_v1", #07.10
|
@@ -378,7 +384,6 @@ models = [
|
|
378 |
"digiplay/alstroemeriaMix_v1",
|
379 |
"wavymulder/Analog-Diffusion",
|
380 |
"digiplay/AniRealityMix_v1", #257
|
381 |
-
"digiplay/ARRealVX1.1",
|
382 |
"digiplay/BadAnime_v1",
|
383 |
"digiplay/BasilKorea_v2", #07.11
|
384 |
"digiplay/bluePencilRealistic_v01",
|
@@ -1267,15 +1272,21 @@ models2=[
|
|
1267 |
gr.Interface.load(f"models/{models[588]}",live=True,preprocess=False),
|
1268 |
gr.Interface.load(f"models/{models[589]}",live=True,preprocess=False),
|
1269 |
gr.Interface.load(f"models/{models[590]}",live=True,preprocess=False),
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
|
|
|
|
|
|
1277 |
|
1278 |
-
|
|
|
|
|
|
|
1279 |
]
|
1280 |
|
1281 |
def text_it1(inputs,text_gen1=text_gen1):
|
|
|
4 |
from pathlib import Path
|
5 |
|
6 |
models = [
|
7 |
+
"Yntec/GodMode",
|
8 |
+
"digiplay/MGM",
|
9 |
+
"Yntec/TheDarkNight",
|
10 |
+
"digiplay/Koji_v2.1_diffusers",
|
11 |
+
"Yntec/Cryptids",
|
12 |
+
"digiplay/ARRealVX1.1",
|
13 |
"Yntec/Tantrum",
|
14 |
"digiplay/MengX_Mix_Real_v3",
|
15 |
"Yntec/CutesyAnime",
|
|
|
53 |
"Yntec/AnalogMadness",
|
54 |
"digiplay/ya3_VAE",
|
55 |
"Yntec/IronCatFateToons",
|
|
|
56 |
"Yntec/samaritan3dCartoon2MVAE",
|
57 |
"Yntec/Crystalwave", #1k
|
58 |
"Yntec/Synthwave",
|
|
|
241 |
"Yntec/NovelAI",
|
242 |
"Yntec/NovelAIRemix",
|
243 |
"Yntec/Hiten",
|
244 |
+
"digiplay/fantasticmix_v65_test",
|
245 |
"digiplay/AingDiffusion8",
|
246 |
"digiplay/AingDiffusion9",
|
247 |
"digiplay/AingDiffusion8.5",
|
|
|
277 |
"stablediffusionapi/icomix-2",
|
278 |
"digiplay/Realisian_v1",
|
279 |
"digiplay/m3u", #263
|
280 |
+
"digiplay/RMHF_2.5D_v2",
|
281 |
+
"digiplay/FishMix_v1.1",
|
282 |
+
"digiplay/Remedy",
|
283 |
"Hemlok/QuinceMix",
|
284 |
+
"digiplay/K-main",
|
285 |
+
"digiplay/LusterMix_v1.5_safetensors", #256
|
286 |
+
"digiplay/perfectLewdFantasy_v1.01",
|
287 |
+
"digiplay/Opiate_v2",
|
288 |
"digiplay/PhotoSomnia_vFinal",
|
289 |
"stablediffusionapi/all-526-animated",
|
290 |
"digiplay/polla_mix_2.5D",
|
|
|
330 |
"digiplay/realidefmix_3.5VAE",
|
331 |
"digiplay/realmixUnrealjourney_v1",
|
332 |
"digiplay/SyncMix_v1.5",
|
333 |
+
"stablediffusionapi/chilledremixsazyou-r", #195
|
334 |
"digiplay/TWingshadow_v1.2",
|
335 |
"digiplay/V3_by_Hans_Asian",
|
336 |
"digiplay/whatamix_v1",
|
|
|
342 |
"digiplay/breakdomainrealistic_R2333",
|
343 |
"digiplay/CCTV2.5d_v1", #219
|
344 |
"digiplay/ChikMix_V3", #253
|
|
|
345 |
"digiplay/CityEdge_StyleMix_v1.44",
|
346 |
"stablediffusionapi/dalcefopainting2", #199
|
347 |
"digiplay/EdisonNilMix_v1", #07.10
|
|
|
384 |
"digiplay/alstroemeriaMix_v1",
|
385 |
"wavymulder/Analog-Diffusion",
|
386 |
"digiplay/AniRealityMix_v1", #257
|
|
|
387 |
"digiplay/BadAnime_v1",
|
388 |
"digiplay/BasilKorea_v2", #07.11
|
389 |
"digiplay/bluePencilRealistic_v01",
|
|
|
1272 |
gr.Interface.load(f"models/{models[588]}",live=True,preprocess=False),
|
1273 |
gr.Interface.load(f"models/{models[589]}",live=True,preprocess=False),
|
1274 |
gr.Interface.load(f"models/{models[590]}",live=True,preprocess=False),
|
1275 |
+
gr.Interface.load(f"models/{models[591]}",live=True,preprocess=False),
|
1276 |
+
gr.Interface.load(f"models/{models[592]}",live=True,preprocess=False),
|
1277 |
+
gr.Interface.load(f"models/{models[593]}",live=True,preprocess=False),
|
1278 |
+
gr.Interface.load(f"models/{models[594]}",live=True,preprocess=False),
|
1279 |
+
gr.Interface.load(f"models/{models[595]}",live=True,preprocess=False),
|
1280 |
+
gr.Interface.load(f"models/{models[596]}",live=True,preprocess=False),
|
1281 |
+
gr.Interface.load(f"models/{models[597]}",live=True,preprocess=False),
|
1282 |
+
gr.Interface.load(f"models/{models[598]}",live=True,preprocess=False),
|
1283 |
+
gr.Interface.load(f"models/{models[599]}",live=True,preprocess=False),
|
1284 |
+
gr.Interface.load(f"models/{models[600]}",live=True,preprocess=False),
|
1285 |
|
1286 |
+
gr.Interface.load(f"models/{models[601]}",live=True,preprocess=False),
|
1287 |
+
gr.Interface.load(f"models/{models[602]}",live=True,preprocess=False),
|
1288 |
+
|
1289 |
+
#Because there's a model 0, to know the number of models you add 1 to {models[n]}
|
1290 |
]
|
1291 |
|
1292 |
def text_it1(inputs,text_gen1=text_gen1):
|