Spaces:
Runtime error
Runtime error
clementchadebec
commited on
Commit
•
25235d7
1
Parent(s):
b1e2ea6
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ with gr.Blocks(css=css) as demo:
|
|
112 |
# ⚡ Flash Diffusion: FlashSD3 ⚡
|
113 |
This is an interactive demo of [Flash Diffusion](https://gojasper.github.io/flash-diffusion-project/), a diffusion distillation method proposed in [Flash Diffusion: Accelerating Any Conditional
|
114 |
Diffusion Model for Few Steps Image Generation](http://arxiv.org/abs/2406.02347) *by Clément Chadebec, Onur Tasar, Eyal Benaroche and Benjamin Aubin* from Jasper Research.
|
115 |
-
[This model](https://huggingface.co/jasperai/flash-sd3) is a **90.4M** LoRA distilled version of [SD3](https://huggingface.co/stabilityai/stable-diffusion-3-medium) model that is able to generate 1024x1024 images in **4 steps**.
|
116 |
Results can be compared with the teacher model [here](https://huggingface.co/spaces/stabilityai/stable-diffusion-3-medium).
|
117 |
Currently running on {power_device}.
|
118 |
"""
|
@@ -163,7 +163,7 @@ with gr.Blocks(css=css) as demo:
|
|
163 |
minimum=0.0,
|
164 |
maximum=3.0,
|
165 |
step=0.1,
|
166 |
-
value=
|
167 |
)
|
168 |
|
169 |
num_inference_steps = gr.Slider(
|
@@ -171,7 +171,7 @@ with gr.Blocks(css=css) as demo:
|
|
171 |
minimum=4,
|
172 |
maximum=8,
|
173 |
step=1,
|
174 |
-
value=
|
175 |
)
|
176 |
|
177 |
examples = gr.Examples(examples=examples, inputs=[prompt], cache_examples=False)
|
|
|
112 |
# ⚡ Flash Diffusion: FlashSD3 ⚡
|
113 |
This is an interactive demo of [Flash Diffusion](https://gojasper.github.io/flash-diffusion-project/), a diffusion distillation method proposed in [Flash Diffusion: Accelerating Any Conditional
|
114 |
Diffusion Model for Few Steps Image Generation](http://arxiv.org/abs/2406.02347) *by Clément Chadebec, Onur Tasar, Eyal Benaroche and Benjamin Aubin* from Jasper Research.
|
115 |
+
[This model](https://huggingface.co/jasperai/flash-sd3) is a **90.4M** LoRA distilled version of [SD3](https://huggingface.co/stabilityai/stable-diffusion-3-medium) model that is able to generate 1024x1024 images in **4 to 8 steps**.
|
116 |
Results can be compared with the teacher model [here](https://huggingface.co/spaces/stabilityai/stable-diffusion-3-medium).
|
117 |
Currently running on {power_device}.
|
118 |
"""
|
|
|
163 |
minimum=0.0,
|
164 |
maximum=3.0,
|
165 |
step=0.1,
|
166 |
+
value=0.0,
|
167 |
)
|
168 |
|
169 |
num_inference_steps = gr.Slider(
|
|
|
171 |
minimum=4,
|
172 |
maximum=8,
|
173 |
step=1,
|
174 |
+
value=4,
|
175 |
)
|
176 |
|
177 |
examples = gr.Examples(examples=examples, inputs=[prompt], cache_examples=False)
|