Spaces:
Runtime error
Runtime error
clementchadebec
commited on
Commit
•
752f3e2
1
Parent(s):
c1599d4
Update app.py
Browse files
app.py
CHANGED
@@ -81,9 +81,8 @@ examples = [
|
|
81 |
"a cute cartoon fluffy rabbit pilot walking on a military aircraft carrier, 8k, cinematic",
|
82 |
"A 3d render of a futuristic city with a giant robot in the middle full of neon lights, pink and blue colors",
|
83 |
"A close up of an old elderly man with green eyes looking straight at the camera",
|
84 |
-
"cinematic macro tilt shift photography sharp focus fractal triangle 3D torus pyramid crystal model in space energy flows science fiction intricate fire ice water light enery reflection elegant detailed sharp focus octane render volumetric lighting Canon 85L f2.8, vivid colors",
|
85 |
"photo of a huge red cat with green eyes sitting on a cloud in the sky, looking at the camera",
|
86 |
-
"A 3D render of a wizard holding a magic wand in a magic forest. There is a blue pig on the left.",
|
87 |
]
|
88 |
|
89 |
css = """
|
@@ -102,10 +101,11 @@ with gr.Blocks(css=css) as demo:
|
|
102 |
with gr.Column(elem_id="col-container"):
|
103 |
gr.Markdown(
|
104 |
f"""
|
105 |
-
# ⚡ Flash Diffusion:
|
106 |
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
|
107 |
Diffusion Model for Few Steps Image Generation](http://arxiv.org/abs/2406.02347) *by Clément Chadebec, Onur Tasar, Eyal Benaroche and Benjamin Aubin.*
|
108 |
-
[This model](https://huggingface.co/jasperai/flash-sd3) is a **
|
|
|
109 |
Currently running on {power_device}.
|
110 |
"""
|
111 |
)
|
|
|
81 |
"a cute cartoon fluffy rabbit pilot walking on a military aircraft carrier, 8k, cinematic",
|
82 |
"A 3d render of a futuristic city with a giant robot in the middle full of neon lights, pink and blue colors",
|
83 |
"A close up of an old elderly man with green eyes looking straight at the camera",
|
|
|
84 |
"photo of a huge red cat with green eyes sitting on a cloud in the sky, looking at the camera",
|
85 |
+
"A 3D render of a wizard holding a magic wand in a magic forest. The wizard has a green robe and purple hat. There is a blue pig on the left.",
|
86 |
]
|
87 |
|
88 |
css = """
|
|
|
101 |
with gr.Column(elem_id="col-container"):
|
102 |
gr.Markdown(
|
103 |
f"""
|
104 |
+
# ⚡ Flash Diffusion: FlashSD3 ⚡
|
105 |
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
|
106 |
Diffusion Model for Few Steps Image Generation](http://arxiv.org/abs/2406.02347) *by Clément Chadebec, Onur Tasar, Eyal Benaroche and Benjamin Aubin.*
|
107 |
+
[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**.
|
108 |
+
The model was trained for ~45 hours on 2 H100 GPUs. Results can be compared with the teacher model [here](https://huggingface.co/spaces/stabilityai/stable-diffusion-3-medium)
|
109 |
Currently running on {power_device}.
|
110 |
"""
|
111 |
)
|