Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,8 +70,10 @@ css="""
|
|
| 70 |
with gr.Blocks(css=css) as demo:
|
| 71 |
|
| 72 |
with gr.Column(elem_id="col-container"):
|
| 73 |
-
gr.Markdown(f"""# FLUX.1 Redux [dev]
|
| 74 |
-
An adapter for FLUX [dev] to create image variations
|
|
|
|
|
|
|
| 75 |
[[non-commercial license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)] [[blog](https://blackforestlabs.ai/announcing-black-forest-labs/)] [[model](https://huggingface.co/black-forest-labs/FLUX.1-dev)]
|
| 76 |
""")
|
| 77 |
with gr.Row():
|
|
@@ -183,6 +185,17 @@ An adapter for FLUX [dev] to create image variations
|
|
| 183 |
value=28,
|
| 184 |
)
|
| 185 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 186 |
gr.on(
|
| 187 |
triggers=[run_button.click],
|
| 188 |
fn = infer,
|
|
|
|
| 70 |
with gr.Blocks(css=css) as demo:
|
| 71 |
|
| 72 |
with gr.Column(elem_id="col-container"):
|
| 73 |
+
gr.Markdown(f"""# ⚡️ Fast FLUX.1 Redux [dev] ⚡️
|
| 74 |
+
An adapter for FLUX [dev] to create image variations combined with ByteDance [
|
| 75 |
+
Hyper FLUX 8 Steps LoRA](https://huggingface.co/ByteDance/Hyper-SD)
|
| 76 |
+
|
| 77 |
[[non-commercial license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)] [[blog](https://blackforestlabs.ai/announcing-black-forest-labs/)] [[model](https://huggingface.co/black-forest-labs/FLUX.1-dev)]
|
| 78 |
""")
|
| 79 |
with gr.Row():
|
|
|
|
| 185 |
value=28,
|
| 186 |
)
|
| 187 |
|
| 188 |
+
gr.Examples(
|
| 189 |
+
examples=[
|
| 190 |
+
["mona_lisa.jpg", "pink hair, at the beach", "", "", 0.35],
|
| 191 |
+
|
| 192 |
+
],
|
| 193 |
+
inputs=[input_image, prompt, image_2, prompt_2, reference_scale],
|
| 194 |
+
outputs=[result],
|
| 195 |
+
fn=infer,
|
| 196 |
+
cache_examples="lazy"
|
| 197 |
+
)
|
| 198 |
+
|
| 199 |
gr.on(
|
| 200 |
triggers=[run_button.click],
|
| 201 |
fn = infer,
|