Commit
•
6fef025
0
Parent(s):
Duplicate from caixinfeng/Diffusion50XX
Browse filesCo-authored-by: caixinfeng <caixinfeng@users.noreply.huggingface.co>
- .gitattributes +34 -0
- README.md +13 -0
- app.py +312 -0
.gitattributes
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Maximum Multiplier
|
3 |
+
emoji: 🛕🛕
|
4 |
+
colorFrom: green
|
5 |
+
colorTo: blue
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 3.15.0
|
8 |
+
app_file: app.py
|
9 |
+
pinned: true
|
10 |
+
duplicated_from: caixinfeng/Diffusion50XX
|
11 |
+
---
|
12 |
+
|
13 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
ADDED
@@ -0,0 +1,312 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
import os
|
3 |
+
import sys
|
4 |
+
from pathlib import Path
|
5 |
+
|
6 |
+
models = [
|
7 |
+
{"name": "7 Pa", "url": "AIARTCHAN/7pa"},
|
8 |
+
{"name": "A Certain Model", "url": "JosephusCheung/ACertainModel"},
|
9 |
+
{"name": "A Certain Thing", "url": "JosephusCheung/ACertainThing"},
|
10 |
+
{"name": "A Certainity", "url": "JosephusCheung/ACertainty"},
|
11 |
+
{"name": "Abyss Hell Hero", "url": "AIARTCHAN/AbyssHellHero"},
|
12 |
+
{"name": "Abyss Maple 3", "url": "AIARTCHAN/AbyssMapleVer3"},
|
13 |
+
{"name": "Abyss Orange Mix 2", "url": "WarriorMama777/AbyssOrangeMix2"},
|
14 |
+
{"name": "Abyss Orange Mix", "url": "WarriorMama777/AbyssOrangeMix"},
|
15 |
+
{"name": "AbyssHell 3", "url": "AIARTCHAN/AbyssHellVer3"},
|
16 |
+
{"name": "Alice in Diffusion Land", "url": "Guizmus/SDArt_AliceInDiffusionLand"},
|
17 |
+
{"name": "All 526 Animated", "url": "stablediffusionapi/all-526-animated"},
|
18 |
+
{"name": "All 526", "url": "stablediffusionapi/all-526"},
|
19 |
+
{"name": "Alloy Mix", "url": "p1atdev/alloy-mix"},
|
20 |
+
{"name": "Alt Clip", "url": "BAAI/AltCLIP"},
|
21 |
+
{"name": "Ambient Mix", "url": "OedoSoldier/ambientmix"},
|
22 |
+
{"name": "AmiIReal", "url": "stablediffusionapi/amireal"},
|
23 |
+
{"name": "Analog Diffusion", "url": "wavymulder/Analog-Diffusion"},
|
24 |
+
{"name": "Anidosmix 3", "url": "AIARTCHAN/anidosmixV2"},
|
25 |
+
{"name": "Anime Kawai Diffusion", "url": "Ojimi/anime-kawai-diffusion"},
|
26 |
+
{"name": "Anime Screencap", "url": "Conflictx/AnimeScreencap"},
|
27 |
+
{"name": "Animix", "url": "OedoSoldier/animix"},
|
28 |
+
{"name": "Anireal 3D V2", "url": "circulus/sd-anireal-3d-v2"},
|
29 |
+
{"name": "Any Pastel", "url": "m4gnett/any-pastel"},
|
30 |
+
{"name": "AnyLORA", "url": "kubanemil/AnyLORA"},
|
31 |
+
{"name": "Anything 2.1", "url": "swl-models/anything-v2.1"},
|
32 |
+
{"name": "Anything 3.0 Light", "url": "mm00/anything-v3.0-light"},
|
33 |
+
{"name": "Anything 3.0", "url": "Linaqruf/anything-v3.0"},
|
34 |
+
{"name": "Anything 3.1", "url": "cag/anything-v3-1"},
|
35 |
+
{"name": "Anything 3X", "url": "iZELX1/Anything-V3-X"},
|
36 |
+
{"name": "Anything 4.0", "url": "andite/anything-v4.0"},
|
37 |
+
{"name": "Anything 5.0", "url": "stablediffusionapi/anything-v5"},
|
38 |
+
{"name": "Anything Else 4", "url": "stablediffusionapi/anythingelse-v4"},
|
39 |
+
{"name": "Anything Else 5", "url": "stablediffusionapi/anything-v5"},
|
40 |
+
{"name": "Anything Midjourney 4.1", "url": "Joeythemonster/anything-midjourney-v-4-1"},
|
41 |
+
{"name": "Arcane Diffusion", "url": "nitrosocke/Arcane-Diffusion"},
|
42 |
+
{"name": "Archer Diffusion", "url": "nitrosocke/archer-diffusion"},
|
43 |
+
{"name": "Asian Mix", "url": "D1b4l4p/AsianMix"},
|
44 |
+
{"name": "Aurora", "url": "SweetLuna/Aurora"},
|
45 |
+
{"name": "Balloon Art", "url": "Fictiverse/Stable_Diffusion_BalloonArt_Model"},
|
46 |
+
{"name": "Blood Orange Mix", "url": "WarriorMama777/BloodOrangeMix"},
|
47 |
+
{"name": "Blue pencil", "url": "bluepen5805/blue_pencil"},
|
48 |
+
{"name": "CamelliaMix 2.5D","url": "stablediffusionapi/camelliamix25d"},
|
49 |
+
{"name": "CamelliaMix Line","url": "stablediffusionapi/camelliamixline"},
|
50 |
+
{"name": "CamelliaMix","url": "Powidl43/CamelliaMix"},
|
51 |
+
{"name": "Candy Punk", "url": "Conflictx/CandyPunk"},
|
52 |
+
{"name": "Cetusmix", "url": "stablediffusionapi/cetusmix"},
|
53 |
+
{"name": "CGI Animation", "url": "Conflictx/CGI_Animation"},
|
54 |
+
{"name": "Chaos and Order", "url": "Guizmus/SDArt_ChaosAndOrder768"},
|
55 |
+
{"name": "Chem Punk", "url": "Conflictx/Chempunk"},
|
56 |
+
{"name": "Chikmix", "url": "stablediffusionapi/chikmix"},
|
57 |
+
{"name": "Chillout App Factory","url": "stablediffusionapi/chillout-app-factory"},
|
58 |
+
{"name": "Chilloutclara", "url": "Fred99774/chilloutvlara"},
|
59 |
+
{"name": "Circulus 2.8", "url": "circulus/sd-photoreal-v2.8"},
|
60 |
+
{"name": "Circulus Photoreal V2", "url": "circulus/sd-photoreal-real-v2"},
|
61 |
+
{"name": "Circulus Semi Real 2", "url": "circulus/sd-photoreal-semi-v2"},
|
62 |
+
{"name": "Clam", "url": "Johnhex/Clam"},
|
63 |
+
{"name": "Clarity", "url": "Schisim/Clarity"},
|
64 |
+
{"name": "Classic Anime", "url": "nitrosocke/classic-anim-diffusion"},
|
65 |
+
{"name": "Claudfuen 1", "url": "claudfuen/photorealistic-fuen-v1"},
|
66 |
+
{"name": "Collage Diffusion", "url": "wavymulder/collage-diffusion"},
|
67 |
+
{"name": "Colorful 4.5", "url": "Manseo/Colorful-v4.5-Plus"},
|
68 |
+
{"name": "Comic Diffusion", "url": "ogkalu/Comic-Diffusion"},
|
69 |
+
{"name": "Complex-Lineart", "url": "Conflictx/Complex-Lineart"},
|
70 |
+
{"name": "Cool Japan Diffusion 2.1.2", "url": "aipicasso/cool-japan-diffusion-2-1-2"},
|
71 |
+
{"name": "Cool Japan Diffusion", "url": "aipicasso/cool-japan-diffusion-2-1-2"},
|
72 |
+
{"name": "CoreMix", "url": "corechan/CoreMix"},
|
73 |
+
{"name": "Cosmic Babes", "url": "stablediffusionapi/cosmic-babes"},
|
74 |
+
{"name": "Cosmic Horros 768", "url": "Guizmus/SDArt_cosmichorrors768"},
|
75 |
+
{"name": "Cosmic Horros", "url": "Guizmus/SDArt_cosmichorrors"},
|
76 |
+
{"name": "Counterfeit 1.0", "url": "gsdf/counterfeit-v1.0"},
|
77 |
+
{"name": "Counterfeit 2", "url": "gsdf/Counterfeit-V2.0"},
|
78 |
+
{"name": "Counterfeit 2.0", "url": "gsdf/Counterfeit-V2.0"},
|
79 |
+
{"name": "Counterfeit 3.0", "url": "stablediffusionapi/counterfeit-v30"},
|
80 |
+
{"name": "CuteSexyRobutts", "url": "andite/cutesexyrobutts-diffusion"},
|
81 |
+
{"name": "CyberPunk Anime", "url": "DGSpitzer/Cyberpunk-Anime-Diffusion"},
|
82 |
+
{"name": "Cyberrealistic", "url": "stablediffusionapi/cyberrealistic"},
|
83 |
+
{"name": "Dark Sushi Mix", "url": "stablediffusionapi/dark-sushi-mix"},
|
84 |
+
{"name": "Dash Sushi 25d", "url": "stablediffusionapi/dark-sushi-25d"},
|
85 |
+
{"name": "Deliberate", "url": "Masagin/Deliberate"},
|
86 |
+
{"name": "DGSpitzer", "url": "DGSpitzer/DGSpitzer-Art-Diffusion"},
|
87 |
+
{"name": "Double Exposure Diffusion", "url": "joachimsallstrom/Double-Exposure-Diffusion"},
|
88 |
+
{"name": "Dreamful 2", "url": "Hius/DreamFul-V2"},
|
89 |
+
{"name": "Dreamlike Anime", "url": "dreamlike-art/dreamlike-anime-1.0"},
|
90 |
+
{"name": "Dreamlike Art", "url": "dreamlike-art/dreamlike-diffusion-1.0"},
|
91 |
+
{"name": "Dreamlike Diffusion", "url": "dreamlike-art/dreamlike-diffusion-1.0"},
|
92 |
+
{"name": "Dreamlike Photoreal", "url": "dreamlike-art/dreamlike-photoreal-2.0"},
|
93 |
+
{"name": "Dreamshaper", "url": "Lykon/DreamShaper"},
|
94 |
+
{"name": "DucHaiten Anime", "url": "DucHaiten/DucHaitenAnime"},
|
95 |
+
{"name": "DucHaiten Art", "url": "DucHaiten/DucHaitenAIart"},
|
96 |
+
{"name": "DucHaiten ClassicAnime", "url": "DucHaiten/DH_ClassicAnime"},
|
97 |
+
{"name": "DucHaiten DreamWorld", "url": "DucHaiten/DucHaitenDreamWorld"},
|
98 |
+
{"name": "DucHaiten Journey", "url": "DucHaiten/DucHaitenJourney"},
|
99 |
+
{"name": "DucHaiten StyleLikeMe", "url": "DucHaiten/DucHaiten-StyleLikeMe"},
|
100 |
+
{"name": "DucHaiten SuperCute", "url": "DucHaiten/DucHaitenSuperCute"},
|
101 |
+
{"name": "Dungeons and Diffusion", "url": "0xJustin/Dungeons-and-Diffusion"},
|
102 |
+
{"name": "Eerie Orange Mix", "url": "WarriorMama777/EerieOrangeMix"},
|
103 |
+
{"name": "Eimis Anime Diffusion", "url": "eimiss/EimisAnimeDiffusion_1.0v"},
|
104 |
+
{"name": "Elden Ring", "url": "nitrosocke/elden-ring-diffusion"},
|
105 |
+
{"name": "EmotionalBackLightsMix", "url": "Kuyoh/EmotionalBackLightsMix"},
|
106 |
+
{"name": "Epi PhaV", "url": "EmiPha/EmiPhaV"},
|
107 |
+
{"name": "Epic Diffusion 1.1", "url": "johnslegers/epic-diffusion-v1.1"},
|
108 |
+
{"name": "Epic Diffusion", "url": "johnslegers/epic-diffusion"},
|
109 |
+
{"name": "EpicMix Realism", "url": "Duskfallcrew/EpicMix_Realism"},
|
110 |
+
{"name": "Estrilda Mix", "url": "BIGMON/EstrildaMix"},
|
111 |
+
{"name": "FantaStel", "url": "0RisingStar0/FantaStel"},
|
112 |
+
{"name": "Fantasy Mix", "url": "theintuitiveye/FantasyMix"},
|
113 |
+
{"name": "FeverDream", "url": "Cosmo-Hug/FeverDream"},
|
114 |
+
{"name": "Fluid Art", "url": "Fictiverse/Stable_Diffusion_FluidArt_Model"},
|
115 |
+
{"name": "Future Diffusion", "url": "nitrosocke/Future-Diffusion"},
|
116 |
+
{"name": "Gakki Mix 768", "url": "Sa1i/gakki-mix-768"},
|
117 |
+
{"name": "Ghibli Diffusion", "url": "nitrosocke/Ghibli-Diffusion"},
|
118 |
+
{"name": "Girl New 1", "url": "Fred99774/girlnew1"},
|
119 |
+
{"name": "Gorynich Mix", "url": "JackAnon/GorynichMix"},
|
120 |
+
{"name": "GorynichMix", "url": "JackAnon/GorynichMix"},
|
121 |
+
{"name": "GrapeFruit", "url": "iZELX1/Grapefruit"},
|
122 |
+
{"name": "Grimoeresigils", "url": "ECarbenia/grimoiresigils"},
|
123 |
+
{"name": "GTA5 Artwork Diffusion", "url": "ItsJayQz/GTA5_Artwork_Diffusion"},
|
124 |
+
{"name": "GuoFeng 3", "url": "xiaolxl/GuoFeng3"},
|
125 |
+
{"name": "Guweiz Diffusion", "url": "andite/guweiz-diffusion"},
|
126 |
+
{"name": "Hanamix", "url": "Hanabiaiart/Hanamix"},
|
127 |
+
{"name": "HARDBlend", "url": "theintuitiveye/HARDblend"},
|
128 |
+
{"name": "HassanBlend 1.4", "url": "hassanblend/hassanblend1.4"},
|
129 |
+
{"name": "HassanBlend 1.5.1.2", "url": "hassanblend/HassanBlend1.5.1.2"},
|
130 |
+
{"name": "High Rise Mix 1", "url": "0RisingStar0/HighRiseMixV1"},
|
131 |
+
{"name": "High Rise Mix 2", "url": "0RisingStar0/HighRiseMixV2"},
|
132 |
+
{"name": "HimawariMixs", "url": "natsusakiyomi/HimawariMixs"},
|
133 |
+
{"name": "Hiten Diffusion", "url": "andite/hiten-diffusion"},
|
134 |
+
{"name": "Hrrzg Style 768px", "url": "TheLastBen/hrrzg-style-768px"},
|
135 |
+
{"name": "Icomix 2", "url": "stablediffusionapi/icomix-2"},
|
136 |
+
{"name": "InkPunk Diffusion", "url": "Envvi/Inkpunk-Diffusion"},
|
137 |
+
{"name": "JWST Deep Space Diffusion", "url": "dallinmackay/JWST-Deep-Space-diffusion"},
|
138 |
+
{"name": "Kipaki Egyptian Sci Fi", "url": "Conflictx/Kipaki-EgyptianSciFi"},
|
139 |
+
{"name": "Lit 6B", "url": "hakurei/lit-6B"},
|
140 |
+
{"name": "LiveArca Mix", "url": "0RisingStar0/LiveArcaMix"},
|
141 |
+
{"name": "Lomo Diffusion", "url": "wavymulder/lomo-diffusion"},
|
142 |
+
{"name": "Luna Diffusion", "url": "proximasanfinetuning/luna-diffusion"},
|
143 |
+
{"name": "Majic Mix Fantasy", "url": "stablediffusionapi/majicmixfantasy"},
|
144 |
+
{"name": "Majic Mix Realistic", "url": "stablediffusionapi/majicmixrealistic"},
|
145 |
+
{"name": "Majic Mix Sombre", "url": "stablediffusionapi/majicmixsombre"},
|
146 |
+
{"name": "Mama Orange Mixs", "url": "WarriorMama777/OrangeMixs"},
|
147 |
+
{"name": "Marvel WhatIf Diffusion", "url": "ItsJayQz/Marvel_WhatIf_Diffusion"},
|
148 |
+
{"name": "Mashuu Diffusion", "url": "andite/mashuu-diffusion"},
|
149 |
+
{"name": "Meina Alter", "url": "stablediffusionapi/meinaalter"},
|
150 |
+
{"name": "Meina Pastel", "url": "stablediffusionapi/meinapastel"},
|
151 |
+
{"name": "MeinaMix 7", "url": "Nacholmo/meinamixv7-diffusers"},
|
152 |
+
{"name": "MF-Base", "url": "MyneFactory/MF-Base"},
|
153 |
+
{"name": "Microscopic Model", "url": "Fictiverse/Stable_Diffusion_Microscopic_model"},
|
154 |
+
{"name": "Midjourney 4.0", "url": "flax/midjourney-v4-diffusion"},
|
155 |
+
{"name": "Midjourney 4.1", "url": "Joeythemonster/anything-midjourney-v-4-1"},
|
156 |
+
{"name": "Mignon Diffusion", "url": "andite/mignon-diffusion"},
|
157 |
+
{"name": "MikaPikazo Diffusion", "url": "andite/mikapikazo-diffusion"},
|
158 |
+
{"name": "Mikapikazo", "url": "andite/mikapikazo-diffusion"},
|
159 |
+
{"name": "Mix Pro V4", "url": "AIARTCHAN/MIX-Pro-V4"},
|
160 |
+
{"name": "Model Shoot", "url": "wavymulder/modelshoot"},
|
161 |
+
{"name": "Mo-Di Diffusion", "url": "nitrosocke/mo-di-diffusion"},
|
162 |
+
{"name": "MoistMix 1", "url": "MoistMix/MoistMixV1"},
|
163 |
+
{"name": "Naruto Diffuser", "url": "lambdalabs/sd-naruto-diffusers"},
|
164 |
+
{"name": "Never Ending Dream 2", "url": "luongphamit/NeverEnding-Dream2"},
|
165 |
+
{"name": "NeverEnding-Dream", "url": "Lykon/NeverEnding-Dream"},
|
166 |
+
{"name": "Nitro Diffusion", "url": "nitrosocke/Nitro-Diffusion"},
|
167 |
+
{"name": "NotSoXJB", "url": "AerinK/NotSoXJB-Mix-1"},
|
168 |
+
{"name": "Openjourney 4", "url": "prompthero/openjourney-v4"},
|
169 |
+
{"name": "Openjourney V2", "url": "prompthero/openjourney-v2"},
|
170 |
+
{"name": "Openjourney", "url": "prompthero/openjourney"},
|
171 |
+
{"name": "OpenNiji", "url": "Korakoe/OpenNiji"},
|
172 |
+
{"name": "Papercut", "url": "Fictiverse/Stable_Diffusion_PaperCut_Model"},
|
173 |
+
{"name": "Pastel Mix", "url": "andite/pastel-mix"},
|
174 |
+
{"name": "Picasso Diffusion 1.1", "url": "aipicasso/picasso-diffusion-1-1"},
|
175 |
+
{"name": "Piromizu Diffusion", "url": "andite/piromizu-diffusion"},
|
176 |
+
{"name": "Plat Diffusion", "url": "p1atdev/plat-diffusion"},
|
177 |
+
{"name": "Pokemon Diffuser", "url": "lambdalabs/sd-pokemon-diffusers"},
|
178 |
+
{"name": "Portrait Plus", "url": "wavymulder/portraitplus"},
|
179 |
+
{"name": "Protogen 2.2", "url": "darkstorm2150/Protogen_v2.2_Official_Release"},
|
180 |
+
{"name": "Protogen Infinity", "url": "darkstorm2150/Protogen_Infinity_Official_Release"},
|
181 |
+
{"name": "Protogen X 3.4", "url": "darkstorm2150/Protogen_x3.4_Official_Release"},
|
182 |
+
{"name": "Protogen X 5.8", "url": "darkstorm2150/Protogen_x5.8_Official_Release"},
|
183 |
+
{"name": "QuinceMix", "url": "Hemlok/QuinceMix"},
|
184 |
+
{"name": "Realistic Vision 1.4", "url": "SG161222/Realistic_Vision_V1.4"},
|
185 |
+
{"name": "Redshift 768", "url": "nitrosocke/redshift-diffusion-768"},
|
186 |
+
{"name": "Redshift Diffusion 768", "url": "nitrosocke/redshift-diffusion-768"},
|
187 |
+
{"name": "Redshift Diffusion", "url": "nitrosocke/redshift-diffusion"},
|
188 |
+
{"name": "Replicant V2", "url": "gsdf/Replicant-V2.0"},
|
189 |
+
{"name": "Replicant-V1.0", "url": "gsdf/Replicant-V1.0"},
|
190 |
+
{"name": "Rev Anim", "url": "stablediffusionapi/rev-anim"},
|
191 |
+
{"name": "Rev Animated", "url": "coreml/coreml-ReV-Animated"},
|
192 |
+
{"name": "Rev Animated", "url": "LottePeisch/RevAnimated-Diffusers"},
|
193 |
+
{"name": "Robo Diffusion 3 Base", "url": "nousr/robo-diffusion-2-base"},
|
194 |
+
{"name": "Robo Diffusion", "url": "nousr/robo-diffusion"},
|
195 |
+
{"name": "Salt_mix", "url": "AsAHuman/Salt_mix"},
|
196 |
+
{"name": "Seek Art Mega", "url": "coreco/seek.art_MEGA"},
|
197 |
+
{"name": "Semi Real Mix", "url": "robotjung/SemiRealMix"},
|
198 |
+
{"name": "SEmix", "url": "Deyo/SEmix"},
|
199 |
+
{"name": "Something V 2.2","url": "NoCrypt/SomethingV2_2"},
|
200 |
+
{"name": "Something V2","url": "NoCrypt/SomethingV2"},
|
201 |
+
{"name": "Something", "url": "Guizmus/SDArt_something"},
|
202 |
+
{"name": "Spider Verse diffusion", "url": "nitrosocke/spider-verse-diffusion"},
|
203 |
+
{"name": "SpyBG", "url": "stablediffusionapi/spybg"},
|
204 |
+
{"name": "Stable Diffusion 1.4","url": "CompVis/stable-diffusion-v1-4"},
|
205 |
+
{"name": "Stable Diffusion 1.5","url": "runwayml/stable-diffusion-v1-5"},
|
206 |
+
{"name": "Stable Diffusion 2.1 Base","url": "stabilityai/stable-diffusion-2-1-base"},
|
207 |
+
{"name": "Stable Diffusion 2.1 Unclip","url": "stabilityai/stable-diffusion-2-1-unclip"},
|
208 |
+
{"name": "Stable Diffusion 2.1","url": "stabilityai/stable-diffusion-2-1"},
|
209 |
+
{"name": "Subtly", "url": "ddPn08/subtly"},
|
210 |
+
{"name": "SukiyakiMix", "url": "Vsukiyaki/SukiyakiMix-v1.0"},
|
211 |
+
{"name": "Synthwave Punk 2", "url": "ItsJayQz/SynthwavePunk-v2"},
|
212 |
+
{"name": "The Ally", "url": "stablediffusionapi/the-ally"},
|
213 |
+
{"name": "Three Delicacy wonto", "url": "stablediffusionapi/three-delicacy-wonto"},
|
214 |
+
{"name": "Three Delicacy", "url": "stablediffusionapi/three-delicacy"},
|
215 |
+
{"name": "Timeless Diffusion", "url": "wavymulder/timeless-diffusion"},
|
216 |
+
{"name": "TMND mix", "url": "stablediffusionapi/tmnd-mix"},
|
217 |
+
{"name": "Tron Legacy Diffusion", "url": "dallinmackay/Tron-Legacy-diffusion"},
|
218 |
+
{"name": "UltraSkin", "url": "VegaKH/Ultraskin"},
|
219 |
+
{"name": "Valorant Diffusion", "url": "ItsJayQz/Valorant_Diffusion"},
|
220 |
+
{"name": "Van Gogh Diffusion", "url": "dallinmackay/Van-Gogh-diffusion"},
|
221 |
+
{"name": "Vectorartz Diffusion", "url": "coder119/Vectorartz_Diffusion"},
|
222 |
+
{"name": "Vintedois 1.0", "url": "22h/vintedois-diffusion-v0-1"},
|
223 |
+
{"name": "Vintedois 2.0", "url": "22h/vintedois-diffusion-v0-2"},
|
224 |
+
{"name": "Vivid Watercolors", "url": "Evel/VividWatercolors"},
|
225 |
+
{"name": "VoxelArt", "url": "Fictiverse/Stable_Diffusion_VoxelArt_Model"},
|
226 |
+
{"name": "Waifu Diffusion", "url": "hakurei/waifu-diffusion"},
|
227 |
+
{"name": "Wavyfusion", "url": "wavymulder/wavyfusion"},
|
228 |
+
{"name": "West Magic", "url": "xiaolxl/WestMagic"},
|
229 |
+
{"name": "X Mix", "url": "les-chien/X-mix"},
|
230 |
+
]
|
231 |
+
|
232 |
+
current_model = models[0]
|
233 |
+
|
234 |
+
text_gen = gr.Interface.load("spaces/daspartho/prompt-extend")
|
235 |
+
|
236 |
+
models2 = []
|
237 |
+
for model in models:
|
238 |
+
model_url = f"models/{model['url']}"
|
239 |
+
loaded_model = gr.Interface.load(model_url, live=True, preprocess=True)
|
240 |
+
models2.append(loaded_model)
|
241 |
+
|
242 |
+
|
243 |
+
def text_it(inputs, text_gen=text_gen):
|
244 |
+
return text_gen(inputs)
|
245 |
+
|
246 |
+
|
247 |
+
def set_model(current_model_index):
|
248 |
+
global current_model
|
249 |
+
current_model = models[current_model_index]
|
250 |
+
return gr.update(value=f"{current_model['name']}")
|
251 |
+
|
252 |
+
|
253 |
+
def send_it(inputs, model_choice):
|
254 |
+
proc = models2[model_choice]
|
255 |
+
return proc(inputs)
|
256 |
+
|
257 |
+
|
258 |
+
with gr.Blocks() as myface:
|
259 |
+
gr.HTML(
|
260 |
+
|
261 |
+
)
|
262 |
+
|
263 |
+
with gr.Row():
|
264 |
+
with gr.Row():
|
265 |
+
input_text = gr.Textbox(label="Prompt idea", placeholder="", lines=1)
|
266 |
+
# Model selection dropdown
|
267 |
+
model_name1 = gr.Dropdown(
|
268 |
+
label="Choose Model",
|
269 |
+
choices=[m["name"] for m in models],
|
270 |
+
type="index",
|
271 |
+
value=current_model["name"],
|
272 |
+
interactive=True,
|
273 |
+
)
|
274 |
+
with gr.Row():
|
275 |
+
see_prompts = gr.Button("Generate Prompts")
|
276 |
+
run = gr.Button("Generate Images", variant="primary")
|
277 |
+
|
278 |
+
with gr.Row():
|
279 |
+
output1 = gr.Image(label="")
|
280 |
+
output2 = gr.Image(label="")
|
281 |
+
output3 = gr.Image(label="")
|
282 |
+
with gr.Row():
|
283 |
+
magic1 = gr.Textbox(label="Generated Prompt", lines=2)
|
284 |
+
magic2 = gr.Textbox(label="Generated Prompt", lines=2)
|
285 |
+
magic3 = gr.Textbox(label="Generated Prompt", lines=2)
|
286 |
+
with gr.Row():
|
287 |
+
output4 = gr.Image(label="")
|
288 |
+
output5 = gr.Image(label="")
|
289 |
+
output6 = gr.Image(label="")
|
290 |
+
with gr.Row():
|
291 |
+
magic4 = gr.Textbox(label="Generated Prompt", lines=2)
|
292 |
+
magic5 = gr.Textbox(label="Generated Prompt", lines=2)
|
293 |
+
magic6 = gr.Textbox(label="Generated Prompt", lines=2)
|
294 |
+
|
295 |
+
model_name1.change(set_model, inputs=model_name1, outputs=[output1, output2, output3, output4, output5, output6])
|
296 |
+
|
297 |
+
run.click(send_it, inputs=[magic1, model_name1], outputs=[output1])
|
298 |
+
run.click(send_it, inputs=[magic2, model_name1], outputs=[output2])
|
299 |
+
run.click(send_it, inputs=[magic3, model_name1], outputs=[output3])
|
300 |
+
run.click(send_it, inputs=[magic4, model_name1], outputs=[output4])
|
301 |
+
run.click(send_it, inputs=[magic5, model_name1], outputs=[output5])
|
302 |
+
run.click(send_it, inputs=[magic6, model_name1], outputs=[output6])
|
303 |
+
|
304 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic1])
|
305 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic2])
|
306 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic3])
|
307 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic4])
|
308 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic5])
|
309 |
+
see_prompts.click(text_it, inputs=[input_text], outputs=[magic6])
|
310 |
+
|
311 |
+
myface.queue(concurrency_count=200)
|
312 |
+
myface.launch(inline=True, show_api=False, max_threads=400)
|