Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -239,7 +239,7 @@ with gr.Blocks() as demo:
|
|
| 239 |
FLUX.2 [dev] is a 32B model rectified flow capable of generating, editing and combining images based on text instructions model [[model](https://huggingface.co/black-forest-labs/FLUX.2-dev)], [[blog](https://bfl.ai/blog/flux-2)]
|
| 240 |
""")
|
| 241 |
|
| 242 |
-
with gr.Accordion("Input image(s) (optional)", open=
|
| 243 |
input_images = gr.Gallery(
|
| 244 |
label="Input Image(s)",
|
| 245 |
type="pil",
|
|
@@ -262,7 +262,7 @@ FLUX.2 [dev] is a 32B model rectified flow capable of generating, editing and co
|
|
| 262 |
|
| 263 |
result = gr.Image(label="Result", show_label=False)
|
| 264 |
|
| 265 |
-
with gr.Accordion("Advanced Settings", open=
|
| 266 |
|
| 267 |
prompt_upsampling = gr.Checkbox(
|
| 268 |
label="Prompt Upsampling",
|
|
|
|
| 239 |
FLUX.2 [dev] is a 32B model rectified flow capable of generating, editing and combining images based on text instructions model [[model](https://huggingface.co/black-forest-labs/FLUX.2-dev)], [[blog](https://bfl.ai/blog/flux-2)]
|
| 240 |
""")
|
| 241 |
|
| 242 |
+
with gr.Accordion("Input image(s) (optional)", open=True):
|
| 243 |
input_images = gr.Gallery(
|
| 244 |
label="Input Image(s)",
|
| 245 |
type="pil",
|
|
|
|
| 262 |
|
| 263 |
result = gr.Image(label="Result", show_label=False)
|
| 264 |
|
| 265 |
+
with gr.Accordion("Advanced Settings", open=False):
|
| 266 |
|
| 267 |
prompt_upsampling = gr.Checkbox(
|
| 268 |
label="Prompt Upsampling",
|