Linoy Tsaban commited on
Commit
f0c4137
1 Parent(s): f52661f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -609,13 +609,13 @@ with gr.Blocks(css="style.css") as demo:
609
  with gr.Column(min_width=100):
610
  clear_button = gr.Button("Clear", visible=True)
611
  src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="")
612
- steps = gr.Number(value=30, precision=0, label="Num Diffusion Steps", interactive=True)
613
  src_cfg_scale = gr.Number(value=3.5, label=f"Source Guidance Scale", interactive=True)
614
  mask_type = gr.Radio(choices=["No mask", "Cross Attention Mask", "Intersect Mask"], value="Intersect Mask", label="Mask type")
615
 
616
  with gr.Column(min_width=100):
617
  reconstruct_button = gr.Button("Show Reconstruction", visible=False)
618
- skip = gr.Slider(minimum=0, maximum=95, value=15, step=1, label="Skip Steps", interactive=True, info = "Percentage of skipped denoising steps. Bigger values increase fidelity to input image")
619
  tar_cfg_scale = gr.Slider(minimum=1, maximum=30,value=7.5, label=f"Guidance Scale", interactive=True)
620
  seed = gr.Slider(minimum=0, maximum=np.iinfo(np.int32).max, label="Seed", interactive=True, randomize=True)
621
  randomize_seed = gr.Checkbox(label='Randomize seed', value=False)
 
609
  with gr.Column(min_width=100):
610
  clear_button = gr.Button("Clear", visible=True)
611
  src_prompt = gr.Textbox(lines=1, label="Source Prompt", interactive=True, placeholder="")
612
+ steps = gr.Number(value=50, precision=0, label="Num Diffusion Steps", interactive=True)
613
  src_cfg_scale = gr.Number(value=3.5, label=f"Source Guidance Scale", interactive=True)
614
  mask_type = gr.Radio(choices=["No mask", "Cross Attention Mask", "Intersect Mask"], value="Intersect Mask", label="Mask type")
615
 
616
  with gr.Column(min_width=100):
617
  reconstruct_button = gr.Button("Show Reconstruction", visible=False)
618
+ skip = gr.Slider(minimum=0, maximum=95, value=25, step=1, label="Skip Steps", interactive=True, info = "Percentage of skipped denoising steps. Bigger values increase fidelity to input image")
619
  tar_cfg_scale = gr.Slider(minimum=1, maximum=30,value=7.5, label=f"Guidance Scale", interactive=True)
620
  seed = gr.Slider(minimum=0, maximum=np.iinfo(np.int32).max, label="Seed", interactive=True, randomize=True)
621
  randomize_seed = gr.Checkbox(label='Randomize seed', value=False)