Linoy Tsaban
commited on
Commit
·
09089e9
1
Parent(s):
cfe7bed
Update app.py
Browse files
app.py
CHANGED
|
@@ -578,7 +578,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 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 |
|
| 583 |
# 2nd SEGA concept
|
| 584 |
gr.Markdown("2nd concept")
|
|
@@ -588,7 +589,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 588 |
step=1, interactive=True, info="at which step to start applying semantic guidance?")
|
| 589 |
threshold_2 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99,
|
| 590 |
value=DEFAULT_THRESHOLD,
|
| 591 |
-
step=0.01, interactive=True
|
|
|
|
| 592 |
# 3rd SEGA concept
|
| 593 |
gr.Markdown("3rd concept")
|
| 594 |
with gr.Row() as row3_advanced:
|
|
@@ -597,7 +599,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 597 |
interactive=True, info="at which step to start applying semantic guidance?")
|
| 598 |
threshold_3 = gr.Slider(label='Threshold', minimum=0.5, maximum=0.99,
|
| 599 |
value=DEFAULT_THRESHOLD, step=0.01,
|
| 600 |
-
interactive=True
|
|
|
|
| 601 |
|
| 602 |
# caption_button.click(
|
| 603 |
# fn = caption_image,
|
|
|
|
| 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 = "threshold of the percent of noise estimate’s dimensions used for semantic guidance. Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
| 583 |
|
| 584 |
# 2nd SEGA concept
|
| 585 |
gr.Markdown("2nd concept")
|
|
|
|
| 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,
|
| 593 |
+
info = "threshold of the percent of noise estimate’s dimensions used for semantic guidnace. Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
| 594 |
# 3rd SEGA concept
|
| 595 |
gr.Markdown("3rd concept")
|
| 596 |
with gr.Row() as row3_advanced:
|
|
|
|
| 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,
|
| 603 |
+
info = "threshold of the percent of noise estimate’s dimensions used for semantic guidance. Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
|
| 604 |
|
| 605 |
# caption_button.click(
|
| 606 |
# fn = caption_image,
|