Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ J10_pipe.to("cuda")
|
|
42 |
|
43 |
|
44 |
J9_pipe = StableDiffusionXLPipeline.from_pretrained(
|
45 |
-
"RunDiffusion/Juggernaut-
|
46 |
vae=vae,
|
47 |
torch_dtype=torch.float16,
|
48 |
)
|
@@ -111,8 +111,8 @@ examples = ["A dignified beaver wearing glasses, a vest, and colorful neck tie."
|
|
111 |
]
|
112 |
|
113 |
with gr.Blocks() as demo:
|
114 |
-
gr.Markdown("## One step
|
115 |
-
gr.Markdown('Compare
|
116 |
prompt = gr.Textbox(label="Prompt")
|
117 |
run = gr.Button("Run")
|
118 |
with gr.Accordion("Advanced options", open=False):
|
@@ -176,14 +176,14 @@ with gr.Blocks() as demo:
|
|
176 |
|
177 |
with gr.Row():
|
178 |
with gr.Column():
|
179 |
-
image_r3 = gr.Gallery(label="
|
180 |
-
gr.Markdown("## [
|
181 |
with gr.Column():
|
182 |
-
image_r4 = gr.Gallery(label="
|
183 |
-
gr.Markdown("## [
|
184 |
with gr.Column():
|
185 |
-
image_r5 = gr.Gallery(label="
|
186 |
-
gr.Markdown("## [
|
187 |
image_outputs = [image_r3, image_r4, image_r5]
|
188 |
gr.on(
|
189 |
triggers=[prompt.submit, run.click],
|
|
|
42 |
|
43 |
|
44 |
J9_pipe = StableDiffusionXLPipeline.from_pretrained(
|
45 |
+
"RunDiffusion/Juggernaut-XL-v9",
|
46 |
vae=vae,
|
47 |
torch_dtype=torch.float16,
|
48 |
)
|
|
|
111 |
]
|
112 |
|
113 |
with gr.Blocks() as demo:
|
114 |
+
gr.Markdown("## One step Juggernaut-XL comparison 🦶")
|
115 |
+
gr.Markdown('Compare Juggernaut-XL variants and distillations able to generate images in a single diffusion step')
|
116 |
prompt = gr.Textbox(label="Prompt")
|
117 |
run = gr.Button("Run")
|
118 |
with gr.Accordion("Advanced options", open=False):
|
|
|
176 |
|
177 |
with gr.Row():
|
178 |
with gr.Column():
|
179 |
+
image_r3 = gr.Gallery(label="Juggernaut-X",columns=1, preview=True,)
|
180 |
+
gr.Markdown("## [Juggernaut-X](https://huggingface.co)")
|
181 |
with gr.Column():
|
182 |
+
image_r4 = gr.Gallery(label="Juggernaut-X-10",columns=1, preview=True,)
|
183 |
+
gr.Markdown("## [Juggernaut-XL-10](https://huggingface.co)")
|
184 |
with gr.Column():
|
185 |
+
image_r5 = gr.Gallery(label="Juggernaut-XL-9",columns=1, preview=True,)
|
186 |
+
gr.Markdown("## [Juggernaut-XL-9](https://huggingface.co)")
|
187 |
image_outputs = [image_r3, image_r4, image_r5]
|
188 |
gr.on(
|
189 |
triggers=[prompt.submit, run.click],
|