Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,19 +20,69 @@ HF_HUB_ENABLE_HF_TRANSFER=0
|
|
20 |
accelerator = Accelerator(cpu=True)
|
21 |
InferenceClient=InferenceClient()
|
22 |
|
23 |
-
models =[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
loris=[]
|
25 |
apol=[]
|
26 |
|
27 |
-
def hgfdm(models):
|
28 |
-
models=models
|
29 |
-
poi=InferenceClient.list_deployed_models()
|
30 |
-
voi=poi["text-to-image"]
|
31 |
-
for met in voi:
|
32 |
-
pio=""+met+""
|
33 |
-
models.append(pio)
|
34 |
-
return models
|
35 |
-
|
36 |
def smdls(models):
|
37 |
models=models
|
38 |
mtlst=HfApi.list_models(filter="diffusers:StableDiffusionPipeline",limit=500,full=True,)
|
|
|
20 |
accelerator = Accelerator(cpu=True)
|
21 |
InferenceClient=InferenceClient()
|
22 |
|
23 |
+
models =[
|
24 |
+
"runwayml/stable-diffusion-v1-5",
|
25 |
+
"prompthero/openjourney-v4",
|
26 |
+
"CompVis/stable-diffusion-v1-4",
|
27 |
+
"stabilityai/stable-diffusion-2-1",
|
28 |
+
"stablediffusionapi/edge-of-realism",
|
29 |
+
"MirageML/fantasy-scene",
|
30 |
+
"wavymulder/lomo-diffusion",
|
31 |
+
"sd-dreambooth-library/fashion",
|
32 |
+
"DucHaiten/DucHaitenDreamWorld",
|
33 |
+
"VegaKH/Ultraskin",
|
34 |
+
"kandinsky-community/kandinsky-2-1",
|
35 |
+
"MirageML/lowpoly-cyberpunk",
|
36 |
+
"thehive/everyjourney-sdxl-0.9-finetuned",
|
37 |
+
"plasmo/woolitize-768sd1-5",
|
38 |
+
"plasmo/food-crit",
|
39 |
+
"johnslegers/epic-diffusion-v1.1",
|
40 |
+
"Fictiverse/ElRisitas",
|
41 |
+
"robotjung/SemiRealMix",
|
42 |
+
"herpritts/FFXIV-Style",
|
43 |
+
"prompthero/linkedin-diffusion",
|
44 |
+
"RayHell/popupBook-diffusion",
|
45 |
+
"MirageML/lowpoly-world",
|
46 |
+
"deadman44/SD_Photoreal_Merged_Models",
|
47 |
+
"johnslegers/epic-diffusion",
|
48 |
+
"tilake/China-Chic-illustration",
|
49 |
+
"wavymulder/modelshoot",
|
50 |
+
"prompthero/openjourney-lora",
|
51 |
+
"Fictiverse/Stable_Diffusion_VoxelArt_Model",
|
52 |
+
"darkstorm2150/Protogen_v2.2_Official_Release",
|
53 |
+
"hassanblend/HassanBlend1.5.1.2",
|
54 |
+
"hassanblend/hassanblend1.4",
|
55 |
+
"nitrosocke/redshift-diffusion",
|
56 |
+
"prompthero/openjourney-v2",
|
57 |
+
"nitrosocke/Arcane-Diffusion",
|
58 |
+
"Lykon/DreamShaper",
|
59 |
+
"wavymulder/Analog-Diffusion",
|
60 |
+
"nitrosocke/mo-di-diffusion",
|
61 |
+
"dreamlike-art/dreamlike-diffusion-1.0",
|
62 |
+
"dreamlike-art/dreamlike-photoreal-2.0",
|
63 |
+
"digiplay/RealismEngine_v1",
|
64 |
+
"digiplay/AIGEN_v1.4_diffusers",
|
65 |
+
"stablediffusionapi/dreamshaper-v6",
|
66 |
+
"p1atdev/liminal-space-diffusion",
|
67 |
+
"nadanainone/gigaschizonegs",
|
68 |
+
"lckidwell/album-cover-style",
|
69 |
+
"axolotron/ice-cream-animals",
|
70 |
+
"perion/ai-avatar",
|
71 |
+
"digiplay/GhostMix",
|
72 |
+
"ThePioneer/MISA",
|
73 |
+
"TheLastBen/froggy-style-v21-768",
|
74 |
+
"FloydianSound/Nixeu_Diffusion_v1-5",
|
75 |
+
"kakaobrain/karlo-v1-alpha-image-variations",
|
76 |
+
"digiplay/PotoPhotoRealism_v1",
|
77 |
+
"ConsistentFactor/Aurora-By_Consistent_Factor",
|
78 |
+
"rim0/quadruped_mechas",
|
79 |
+
"Akumetsu971/SD_Samurai_Anime_Model",
|
80 |
+
"Bojaxxx/Fantastic-Mr-Fox-Diffusion",
|
81 |
+
"sd-dreambooth-library/original-character-cyclps",
|
82 |
+
]
|
83 |
loris=[]
|
84 |
apol=[]
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
def smdls(models):
|
87 |
models=models
|
88 |
mtlst=HfApi.list_models(filter="diffusers:StableDiffusionPipeline",limit=500,full=True,)
|