Linoy Tsaban commited on
Commit
7b74d32
1 Parent(s): aa9a059

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -620,7 +620,7 @@ with gr.Blocks(css="style.css") as demo:
620
  warmup_1 = gr.Slider(label='Warmup', minimum=0, maximum=50,
621
  value=DEFAULT_WARMUP_STEPS,
622
  step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
623
- threshold_1 = gr.Slider(label='Threshold', minimum=0.1, maximum=0.99,
624
  value=DEFAULT_THRESHOLD, step=0.01, interactive=True,
625
  info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
626
 
@@ -630,7 +630,7 @@ with gr.Blocks(css="style.css") as demo:
630
  warmup_2 = gr.Slider(label='Warmup', minimum=0, maximum=50,
631
  value=DEFAULT_WARMUP_STEPS,
632
  step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
633
- threshold_2 = gr.Slider(label='Threshold', minimum=0.1, maximum=0.99,
634
  value=DEFAULT_THRESHOLD,
635
  step=0.01, interactive=True,
636
  info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
@@ -640,7 +640,7 @@ with gr.Blocks(css="style.css") as demo:
640
  warmup_3 = gr.Slider(label='Warmup', minimum=0, maximum=50,
641
  value=DEFAULT_WARMUP_STEPS, step=1,
642
  interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
643
- threshold_3 = gr.Slider(label='Threshold', minimum=0.1, maximum=0.99,
644
  value=DEFAULT_THRESHOLD, step=0.01,
645
  interactive=True,
646
  info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
 
620
  warmup_1 = gr.Slider(label='Warmup', minimum=0, maximum=50,
621
  value=DEFAULT_WARMUP_STEPS,
622
  step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
623
+ threshold_1 = gr.Slider(label='Threshold', minimum=0, maximum=0.99,
624
  value=DEFAULT_THRESHOLD, step=0.01, interactive=True,
625
  info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
626
 
 
630
  warmup_2 = gr.Slider(label='Warmup', minimum=0, maximum=50,
631
  value=DEFAULT_WARMUP_STEPS,
632
  step=1, interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
633
+ threshold_2 = gr.Slider(label='Threshold', minimum=0, maximum=0.99,
634
  value=DEFAULT_THRESHOLD,
635
  step=0.01, interactive=True,
636
  info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")
 
640
  warmup_3 = gr.Slider(label='Warmup', minimum=0, maximum=50,
641
  value=DEFAULT_WARMUP_STEPS, step=1,
642
  interactive=True, info="At which step to start applying semantic guidance. Bigger values reduce edit concept's effect")
643
+ threshold_3 = gr.Slider(label='Threshold', minimum=0, maximum=0.99,
644
  value=DEFAULT_THRESHOLD, step=0.01,
645
  interactive=True,
646
  info = "Lower the threshold for more effect (e.g. ~0.9 for style transfer)")