Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
204d81a
1
Parent(s):
bd3b2ac
Update app.py
Browse files
app.py
CHANGED
@@ -565,7 +565,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
565 |
|
566 |
with gr.Column(min_width=100):
|
567 |
reconstruct_button = gr.Button("Show Reconstruction", visible=False)
|
568 |
-
skip = gr.Slider(minimum=0, maximum=60, value=36, label="Skip Steps", interactive=True, info = "At which step start denoising
|
569 |
tar_cfg_scale = gr.Slider(minimum=7, maximum=30,value=15, label=f"Guidance Scale", interactive=True)
|
570 |
seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)
|
571 |
randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
|
@@ -576,7 +576,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
576 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
577 |
warmup_1 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
578 |
value=DEFAULT_WARMUP_STEPS,
|
579 |
-
step=1, interactive=True, info="At which step to start applying semantic guidance
|
580 |
threshold_1 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99,
|
581 |
value=DEFAULT_THRESHOLD, step=0.01, interactive=True,
|
582 |
info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
@@ -586,7 +586,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
586 |
with gr.Row() as row2_advanced:
|
587 |
warmup_2 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
588 |
value=DEFAULT_WARMUP_STEPS,
|
589 |
-
step=1, interactive=True, info="At which step to start applying semantic guidance
|
590 |
threshold_2 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99,
|
591 |
value=DEFAULT_THRESHOLD,
|
592 |
step=0.01, interactive=True,
|
@@ -596,7 +596,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
596 |
with gr.Row() as row3_advanced:
|
597 |
warmup_3 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
598 |
value=DEFAULT_WARMUP_STEPS, step=1,
|
599 |
-
interactive=True, info="At which step to start applying semantic guidance
|
600 |
threshold_3 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99,
|
601 |
value=DEFAULT_THRESHOLD, step=0.01,
|
602 |
interactive=True,
|
|
|
565 |
|
566 |
with gr.Column(min_width=100):
|
567 |
reconstruct_button = gr.Button("Show Reconstruction", visible=False)
|
568 |
+
skip = gr.Slider(minimum=0, maximum=60, value=36, label="Skip Steps", interactive=True, info = "At which step start denoising. Bigger values increase fidelity to the original image")
|
569 |
tar_cfg_scale = gr.Slider(minimum=7, maximum=30,value=15, label=f"Guidance Scale", interactive=True)
|
570 |
seed = gr.Number(value=0, precision=0, label="Seed", interactive=True)
|
571 |
randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
|
|
|
576 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
577 |
warmup_1 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
578 |
value=DEFAULT_WARMUP_STEPS,
|
579 |
+
step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
|
580 |
threshold_1 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99,
|
581 |
value=DEFAULT_THRESHOLD, step=0.01, interactive=True,
|
582 |
info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
|
|
586 |
with gr.Row() as row2_advanced:
|
587 |
warmup_2 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
588 |
value=DEFAULT_WARMUP_STEPS,
|
589 |
+
step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
|
590 |
threshold_2 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99,
|
591 |
value=DEFAULT_THRESHOLD,
|
592 |
step=0.01, interactive=True,
|
|
|
596 |
with gr.Row() as row3_advanced:
|
597 |
warmup_3 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
598 |
value=DEFAULT_WARMUP_STEPS, step=1,
|
599 |
+
interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
|
600 |
threshold_3 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99,
|
601 |
value=DEFAULT_THRESHOLD, step=0.01,
|
602 |
interactive=True,
|