Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
0940ad0
1
Parent(s):
6b5fa51
Update app.py
Browse files
app.py
CHANGED
@@ -605,7 +605,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
605 |
warmup_1 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
606 |
value=DEFAULT_WARMUP_STEPS,
|
607 |
step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
|
608 |
-
threshold_1 = gr.Slider(label='Threshold', minimum=0.
|
609 |
value=DEFAULT_THRESHOLD, step=0.01, interactive=True,
|
610 |
info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
611 |
|
@@ -615,7 +615,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
615 |
warmup_2 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
616 |
value=DEFAULT_WARMUP_STEPS,
|
617 |
step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
|
618 |
-
threshold_2 = gr.Slider(label='Threshold', minimum=0.
|
619 |
value=DEFAULT_THRESHOLD,
|
620 |
step=0.01, interactive=True,
|
621 |
info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
@@ -625,7 +625,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
625 |
warmup_3 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
626 |
value=DEFAULT_WARMUP_STEPS, step=1,
|
627 |
interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
|
628 |
-
threshold_3 = gr.Slider(label='Threshold', minimum=0.
|
629 |
value=DEFAULT_THRESHOLD, step=0.01,
|
630 |
interactive=True,
|
631 |
info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
|
|
605 |
warmup_1 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
606 |
value=DEFAULT_WARMUP_STEPS,
|
607 |
step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
|
608 |
+
threshold_1 = gr.Slider(label='Threshold', minimum=0.1, maximum=0.99,
|
609 |
value=DEFAULT_THRESHOLD, step=0.01, interactive=True,
|
610 |
info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
611 |
|
|
|
615 |
warmup_2 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
616 |
value=DEFAULT_WARMUP_STEPS,
|
617 |
step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
|
618 |
+
threshold_2 = gr.Slider(label='Threshold', minimum=0.1, maximum=0.99,
|
619 |
value=DEFAULT_THRESHOLD,
|
620 |
step=0.01, interactive=True,
|
621 |
info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
|
|
625 |
warmup_3 = gr.Slider(label='Warmup', minimum=0, maximum=50,
|
626 |
value=DEFAULT_WARMUP_STEPS, step=1,
|
627 |
interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
|
628 |
+
threshold_3 = gr.Slider(label='Threshold', minimum=0.1, maximum=0.99,
|
629 |
value=DEFAULT_THRESHOLD, step=0.01,
|
630 |
interactive=True,
|
631 |
info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|