Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,6 +54,9 @@ examples = [
|
|
| 54 |
"Ghibli style futuristic stormtrooper with glossy white armor and a sleek helmet,"
|
| 55 |
" standing heroically on a lush alien planet, vibrant flowers blooming around, soft"
|
| 56 |
" sunlight illuminating the scene, a gentle breeze rustling the leaves"
|
|
|
|
|
|
|
|
|
|
| 57 |
)
|
| 58 |
]
|
| 59 |
|
|
@@ -138,6 +141,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 138 |
examples=examples,
|
| 139 |
fn=lambda x: (Image.open("./example.jpg"), 42),
|
| 140 |
inputs=[prompt],
|
|
|
|
|
|
|
| 141 |
)
|
| 142 |
|
| 143 |
gr.Markdown("### Disclaimer\nFree of use, but both the dataset that FLUX has been fine-tuned on, as well as the FLUX.1-dev model are licensed under a non-commercial license.")
|
|
|
|
| 54 |
"Ghibli style futuristic stormtrooper with glossy white armor and a sleek helmet,"
|
| 55 |
" standing heroically on a lush alien planet, vibrant flowers blooming around, soft"
|
| 56 |
" sunlight illuminating the scene, a gentle breeze rustling the leaves"
|
| 57 |
+
),
|
| 58 |
+
(
|
| 59 |
+
|
| 60 |
)
|
| 61 |
]
|
| 62 |
|
|
|
|
| 141 |
examples=examples,
|
| 142 |
fn=lambda x: (Image.open("./example.jpg"), 42),
|
| 143 |
inputs=[prompt],
|
| 144 |
+
outputs=[results, seed],
|
| 145 |
+
run_on_click=True,
|
| 146 |
)
|
| 147 |
|
| 148 |
gr.Markdown("### Disclaimer\nFree of use, but both the dataset that FLUX has been fine-tuned on, as well as the FLUX.1-dev model are licensed under a non-commercial license.")
|