Update app.py
Browse files
app.py
CHANGED
@@ -543,23 +543,24 @@ with gr.Blocks(css=css, delete_cache=(60, 60)) as app:
|
|
543 |
remove_custom_lora_button = gr.Button("Remove Custom LoRA", visible=False)
|
544 |
gr.Markdown("[Check the list of FLUX LoRAs](https://huggingface.co/models?other=base_model:adapter:black-forest-labs/FLUX.1-dev)", elem_id="lora_list")
|
545 |
|
546 |
-
|
547 |
-
|
548 |
-
#
|
549 |
-
#
|
550 |
-
#
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
|
|
563 |
with gr.Row():
|
564 |
with gr.Column():
|
565 |
gallery = gr.Gallery(
|
|
|
543 |
remove_custom_lora_button = gr.Button("Remove Custom LoRA", visible=False)
|
544 |
gr.Markdown("[Check the list of FLUX LoRAs](https://huggingface.co/models?other=base_model:adapter:black-forest-labs/FLUX.1-dev)", elem_id="lora_list")
|
545 |
|
546 |
+
with gr.Row():
|
547 |
+
with gr.Accordion("Advanced Settings", open=False):
|
548 |
+
# with gr.Row():
|
549 |
+
# input_image = gr.Image(label="Input image", type="filepath", show_share_button=False)
|
550 |
+
# image_strength = gr.Slider(label="Denoise Strength", info="Lower means more image influence", minimum=0.1, maximum=1.0, step=0.01, value=0.75)
|
551 |
+
with gr.Column():
|
552 |
+
with gr.Row():
|
553 |
+
cfg_scale = gr.Slider(label="CFG Scale", minimum=1, maximum=20, step=0.5, value=3.5)
|
554 |
+
steps = gr.Slider(label="Steps", minimum=1, maximum=50, step=1, value=28)
|
555 |
+
|
556 |
+
with gr.Row():
|
557 |
+
width = gr.Slider(label="Width", minimum=256, maximum=1536, step=64, value=1024)
|
558 |
+
height = gr.Slider(label="Height", minimum=256, maximum=1536, step=64, value=1024)
|
559 |
+
|
560 |
+
with gr.Row():
|
561 |
+
randomize_seed = gr.Checkbox(True, label="Randomize seed")
|
562 |
+
seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)
|
563 |
+
|
564 |
with gr.Row():
|
565 |
with gr.Column():
|
566 |
gallery = gr.Gallery(
|