Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import torch
|
|
12 |
|
13 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
14 |
|
15 |
-
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
16 |
|
17 |
#pipe = StableDiffusionXLPipeline.from_pretrained(
|
18 |
# "yodayo-ai/holodayo-xl-2.1",
|
@@ -21,6 +21,7 @@ vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype
|
|
21 |
#)
|
22 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
23 |
"yodayo-ai/clandestine-xl-1.0",
|
|
|
24 |
torch_dtype=torch.float16,
|
25 |
use_safetensors=True,
|
26 |
custom_pipeline="lpw_stable_diffusion_xl",
|
@@ -66,10 +67,10 @@ css = """
|
|
66 |
with gr.Blocks(css=css) as demo:
|
67 |
|
68 |
with gr.Column(elem_id="col-container"):
|
69 |
-
gr.Markdown("""
|
70 |
# Text-to-Image Demo
|
71 |
-
using [clandestine XL 1.0](https://huggingface.co/yodayo-ai/clandestine-xl-1.0)
|
72 |
-
""")
|
73 |
#yodayo-ai/clandestine-xl-1.0
|
74 |
#yodayo-ai/holodayo-xl-2.1
|
75 |
with gr.Row():
|
|
|
12 |
|
13 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
14 |
|
15 |
+
#vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
16 |
|
17 |
#pipe = StableDiffusionXLPipeline.from_pretrained(
|
18 |
# "yodayo-ai/holodayo-xl-2.1",
|
|
|
21 |
#)
|
22 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
23 |
"yodayo-ai/clandestine-xl-1.0",
|
24 |
+
"Laxhar/noob_sdxl_v_pred/noob-xl-v-pred-test-v2.safetensors"
|
25 |
torch_dtype=torch.float16,
|
26 |
use_safetensors=True,
|
27 |
custom_pipeline="lpw_stable_diffusion_xl",
|
|
|
67 |
with gr.Blocks(css=css) as demo:
|
68 |
|
69 |
with gr.Column(elem_id="col-container"):
|
70 |
+
#gr.Markdown("""
|
71 |
# Text-to-Image Demo
|
72 |
+
#using [clandestine XL 1.0](https://huggingface.co/yodayo-ai/clandestine-xl-1.0)
|
73 |
+
#""")
|
74 |
#yodayo-ai/clandestine-xl-1.0
|
75 |
#yodayo-ai/holodayo-xl-2.1
|
76 |
with gr.Row():
|