Spaces:
Running
on
Zero
Running
on
Zero
adamelliotfields
commited on
Commit
•
af07f4b
1
Parent(s):
611f9c5
Remove runwayml/stable-diffusion-v1-5 😢
Browse files- README.md +5 -5
- lib/config.py +2 -1
- lib/inference.py +3 -3
- requirements.txt +1 -2
- usage.md +1 -1
README.md
CHANGED
@@ -15,19 +15,22 @@ header: mini
|
|
15 |
license: apache-2.0
|
16 |
models:
|
17 |
- ai-forever/Real-ESRGAN
|
|
|
18 |
- cyberdelia/CyberRealistic
|
19 |
- fluently/Fluently-v4
|
20 |
- h94/IP-Adapter
|
21 |
- Linaqruf/anything-v3-1
|
22 |
- Lykon/dreamshaper-8
|
23 |
- prompthero/openjourney-v4
|
24 |
-
- runwayml/stable-diffusion-v1-5
|
25 |
- SG161222/Realistic_Vision_V5.1_noVAE
|
26 |
- XpucT/Deliberate
|
27 |
preload_from_hub:
|
28 |
- >-
|
29 |
ai-forever/Real-ESRGAN
|
30 |
RealESRGAN_x2.pth,RealESRGAN_x4.pth
|
|
|
|
|
|
|
31 |
- >-
|
32 |
cyberdelia/CyberRealistic
|
33 |
CyberRealistic_V5_FP16.safetensors
|
@@ -42,13 +45,10 @@ preload_from_hub:
|
|
42 |
anything-v3-2.safetensors
|
43 |
- >-
|
44 |
Lykon/dreamshaper-8
|
45 |
-
text_encoder/model.fp16.safetensors,unet/diffusion_pytorch_model.fp16.safetensors,vae/diffusion_pytorch_model.fp16.safetensors
|
46 |
- >-
|
47 |
prompthero/openjourney-v4
|
48 |
openjourney-v4.ckpt
|
49 |
-
- >-
|
50 |
-
runwayml/stable-diffusion-v1-5
|
51 |
-
text_encoder/model.fp16.safetensors,unet/diffusion_pytorch_model.fp16.safetensors,vae/diffusion_pytorch_model.fp16.safetensors
|
52 |
- >-
|
53 |
SG161222/Realistic_Vision_V5.1_noVAE
|
54 |
Realistic_Vision_V5.1_fp16-no-ema.safetensors
|
|
|
15 |
license: apache-2.0
|
16 |
models:
|
17 |
- ai-forever/Real-ESRGAN
|
18 |
+
- Comfy-Org/stable-diffusion-v1-5-archive
|
19 |
- cyberdelia/CyberRealistic
|
20 |
- fluently/Fluently-v4
|
21 |
- h94/IP-Adapter
|
22 |
- Linaqruf/anything-v3-1
|
23 |
- Lykon/dreamshaper-8
|
24 |
- prompthero/openjourney-v4
|
|
|
25 |
- SG161222/Realistic_Vision_V5.1_noVAE
|
26 |
- XpucT/Deliberate
|
27 |
preload_from_hub:
|
28 |
- >-
|
29 |
ai-forever/Real-ESRGAN
|
30 |
RealESRGAN_x2.pth,RealESRGAN_x4.pth
|
31 |
+
- >-
|
32 |
+
Comfy-Org/stable-diffusion-v1-5-archive
|
33 |
+
v1-5-pruned-emaonly-fp16.safetensors
|
34 |
- >-
|
35 |
cyberdelia/CyberRealistic
|
36 |
CyberRealistic_V5_FP16.safetensors
|
|
|
45 |
anything-v3-2.safetensors
|
46 |
- >-
|
47 |
Lykon/dreamshaper-8
|
48 |
+
text_encoder/model.fp16.safetensors,unet/diffusion_pytorch_model.fp16.safetensors,vae/diffusion_pytorch_model.fp16.safetensors,model_index.json
|
49 |
- >-
|
50 |
prompthero/openjourney-v4
|
51 |
openjourney-v4.ckpt
|
|
|
|
|
|
|
52 |
- >-
|
53 |
SG161222/Realistic_Vision_V5.1_noVAE
|
54 |
Realistic_Vision_V5.1_fp16-no-ema.safetensors
|
lib/config.py
CHANGED
@@ -26,17 +26,18 @@ Config = SimpleNamespace(
|
|
26 |
},
|
27 |
MODEL="Lykon/dreamshaper-8",
|
28 |
MODELS=[
|
|
|
29 |
"cyberdelia/CyberRealistic",
|
30 |
"fluently/Fluently-v4",
|
31 |
"Linaqruf/anything-v3-1",
|
32 |
"Lykon/dreamshaper-8",
|
33 |
"prompthero/openjourney-v4",
|
34 |
-
"runwayml/stable-diffusion-v1-5",
|
35 |
"SG161222/Realistic_Vision_V5.1_noVAE",
|
36 |
"XpucT/Deliberate",
|
37 |
],
|
38 |
MODEL_CHECKPOINTS={
|
39 |
# keep keys lowercase
|
|
|
40 |
"cyberdelia/cyberrealistic": "CyberRealistic_V5_FP16.safetensors",
|
41 |
"fluently/fluently-v4": "Fluently-v4.safetensors",
|
42 |
"linaqruf/anything-v3-1": "anything-v3-2.safetensors",
|
|
|
26 |
},
|
27 |
MODEL="Lykon/dreamshaper-8",
|
28 |
MODELS=[
|
29 |
+
"Comfy-Org/stable-diffusion-v1-5-archive",
|
30 |
"cyberdelia/CyberRealistic",
|
31 |
"fluently/Fluently-v4",
|
32 |
"Linaqruf/anything-v3-1",
|
33 |
"Lykon/dreamshaper-8",
|
34 |
"prompthero/openjourney-v4",
|
|
|
35 |
"SG161222/Realistic_Vision_V5.1_noVAE",
|
36 |
"XpucT/Deliberate",
|
37 |
],
|
38 |
MODEL_CHECKPOINTS={
|
39 |
# keep keys lowercase
|
40 |
+
"comfy-org/stable-diffusion-v1-5-archive": "v1-5-pruned-emaonly-fp16.safetensors",
|
41 |
"cyberdelia/cyberrealistic": "CyberRealistic_V5_FP16.safetensors",
|
42 |
"fluently/fluently-v4": "Fluently-v4.safetensors",
|
43 |
"linaqruf/anything-v3-1": "anything-v3-2.safetensors",
|
lib/inference.py
CHANGED
@@ -107,12 +107,12 @@ def generate(
|
|
107 |
embeddings=[],
|
108 |
style=None,
|
109 |
seed=None,
|
110 |
-
model="
|
111 |
-
scheduler="
|
112 |
width=512,
|
113 |
height=512,
|
114 |
guidance_scale=7.5,
|
115 |
-
inference_steps=
|
116 |
denoising_strength=0.8,
|
117 |
deepcache=1,
|
118 |
scale=1,
|
|
|
107 |
embeddings=[],
|
108 |
style=None,
|
109 |
seed=None,
|
110 |
+
model="Lykon/dreamshaper-8",
|
111 |
+
scheduler="DEIS 2M",
|
112 |
width=512,
|
113 |
height=512,
|
114 |
guidance_scale=7.5,
|
115 |
+
inference_steps=40,
|
116 |
denoising_strength=0.8,
|
117 |
deepcache=1,
|
118 |
scale=1,
|
requirements.txt
CHANGED
@@ -3,11 +3,10 @@ accelerate
|
|
3 |
einops==0.8.0
|
4 |
compel==2.0.3
|
5 |
deepcache==0.1.1
|
6 |
-
diffusers==0.
|
7 |
hf-transfer
|
8 |
gradio==4.41.0
|
9 |
ruff==0.5.7
|
10 |
-
scipy # for LMS scheduler
|
11 |
spaces
|
12 |
torch==2.2.0
|
13 |
torchvision==0.17.0
|
|
|
3 |
einops==0.8.0
|
4 |
compel==2.0.3
|
5 |
deepcache==0.1.1
|
6 |
+
diffusers==0.30.2
|
7 |
hf-transfer
|
8 |
gradio==4.41.0
|
9 |
ruff==0.5.7
|
|
|
10 |
spaces
|
11 |
torch==2.2.0
|
12 |
torchvision==0.17.0
|
usage.md
CHANGED
@@ -30,12 +30,12 @@ Rescale up to 4x using [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) fro
|
|
30 |
|
31 |
Each model checkpoint has a different aesthetic:
|
32 |
|
|
|
33 |
* [cyberdelia/CyberRealistic_v5](https://huggingface.co/cyberdelia/CyberRealistic): photorealistic
|
34 |
* [Lykon/dreamshaper-8](https://huggingface.co/Lykon/dreamshaper-8): general purpose (default)
|
35 |
* [fluently/Fluently-v4](https://huggingface.co/fluently/Fluently-v4): general purpose
|
36 |
* [Linaqruf/anything-v3-1](https://huggingface.co/Linaqruf/anything-v3-1): anime
|
37 |
* [prompthero/openjourney-v4](https://huggingface.co/prompthero/openjourney-v4): Midjourney-like
|
38 |
-
* [runwayml/stable-diffusion-v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5): base
|
39 |
* [SG161222/Realistic_Vision_v5.1](https://huggingface.co/SG161222/Realistic_Vision_V5.1_noVAE): photorealistic
|
40 |
* [XpucT/Deliberate_v6](https://huggingface.co/XpucT/Deliberate): general purpose
|
41 |
|
|
|
30 |
|
31 |
Each model checkpoint has a different aesthetic:
|
32 |
|
33 |
+
* [Comfy-Org/stable-diffusion-v1-5](https://huggingface.co/Comfy-Org/stable-diffusion-v1-5-archive): base
|
34 |
* [cyberdelia/CyberRealistic_v5](https://huggingface.co/cyberdelia/CyberRealistic): photorealistic
|
35 |
* [Lykon/dreamshaper-8](https://huggingface.co/Lykon/dreamshaper-8): general purpose (default)
|
36 |
* [fluently/Fluently-v4](https://huggingface.co/fluently/Fluently-v4): general purpose
|
37 |
* [Linaqruf/anything-v3-1](https://huggingface.co/Linaqruf/anything-v3-1): anime
|
38 |
* [prompthero/openjourney-v4](https://huggingface.co/prompthero/openjourney-v4): Midjourney-like
|
|
|
39 |
* [SG161222/Realistic_Vision_v5.1](https://huggingface.co/SG161222/Realistic_Vision_V5.1_noVAE): photorealistic
|
40 |
* [XpucT/Deliberate_v6](https://huggingface.co/XpucT/Deliberate): general purpose
|
41 |
|