Linoy Tsaban commited on
Commit
d4c9ca7
1 Parent(s): ee6d1aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -139,11 +139,11 @@ with gr.Blocks() as demo:
139
  # src_cfg_scale = gr.Number(value=3.5, label=f"Source CFG", interactive=True)
140
 
141
  # reconstruction
142
- skip = gr.Number(value=36, precision=0, label="Skip Steps", interactive=True)
143
- tar_cfg_scale = gr.Number(value=15, label=f"Guidance Scale", interactive=True)
144
 
145
  # edit
146
- sega_edit_guidance = gr.Number(value=10, label=f"SEGA Edit Guidance Scale", interactive=True)
147
  warm_up = gr.Number(value=1, label=f"SEGA Warm-up Steps", interactive=True)
148
  neg_guidance = gr.Checkbox(label="SEGA Negative Guidance")
149
 
 
139
  # src_cfg_scale = gr.Number(value=3.5, label=f"Source CFG", interactive=True)
140
 
141
  # reconstruction
142
+ skip = gr.Slider(minimum=0, maximum=40, value=36, precision=0, label="Skip Steps", interactive=True)
143
+ tar_cfg_scale = gr.Slider(minimum=7, maximum=18,value=15, label=f"Guidance Scale", interactive=True)
144
 
145
  # edit
146
+ sega_edit_guidance = gr.Slider(value=10, label=f"SEGA Edit Guidance Scale", interactive=True)
147
  warm_up = gr.Number(value=1, label=f"SEGA Warm-up Steps", interactive=True)
148
  neg_guidance = gr.Checkbox(label="SEGA Negative Guidance")
149