Linoy Tsaban commited on
Commit
001613c
1 Parent(s): 4b95bff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -168,8 +168,11 @@ with gr.Blocks() as demo:
168
  # reconstruction
169
  skip = gr.Slider(minimum=0, maximum=40, value=36, precision=0, label="Skip Steps", interactive=True)
170
  tar_cfg_scale = gr.Slider(minimum=7, maximum=18,value=15, label=f"Guidance Scale", interactive=True)
171
-
 
172
  sega_edit_guidance = gr.Slider(value=10, label=f"SEGA Edit Guidance Scale", interactive=True)
 
 
173
  #shift
174
  with gr.Column():
175
  left = gr.Number(value=0, precision=0, label="Left Shift", interactive=True)
@@ -178,7 +181,7 @@ with gr.Blocks() as demo:
178
  top = gr.Number(value=0, precision=0, label="Top Shift", interactive=True)
179
  bottom = gr.Number(value=0, precision=0, label="Bottom Shift", interactive=True)
180
 
181
- # warm_up = gr.Number(value=1, label=f"SEGA Warm-up Steps", interactive=True)
182
  # neg_guidance = gr.Checkbox(label="SEGA Negative Guidance")
183
 
184
 
@@ -195,7 +198,7 @@ with gr.Blocks() as demo:
195
  tar_cfg_scale,
196
  edit_concept,
197
  sega_edit_guidance,
198
- # warm_up,
199
  # neg_guidance,
200
  left,
201
  right,
 
168
  # reconstruction
169
  skip = gr.Slider(minimum=0, maximum=40, value=36, precision=0, label="Skip Steps", interactive=True)
170
  tar_cfg_scale = gr.Slider(minimum=7, maximum=18,value=15, label=f"Guidance Scale", interactive=True)
171
+
172
+ with gr.Column():
173
  sega_edit_guidance = gr.Slider(value=10, label=f"SEGA Edit Guidance Scale", interactive=True)
174
+ warm_up = gr.Textbox(label=f"SEGA Warm-up Steps", interactive=True)
175
+
176
  #shift
177
  with gr.Column():
178
  left = gr.Number(value=0, precision=0, label="Left Shift", interactive=True)
 
181
  top = gr.Number(value=0, precision=0, label="Top Shift", interactive=True)
182
  bottom = gr.Number(value=0, precision=0, label="Bottom Shift", interactive=True)
183
 
184
+
185
  # neg_guidance = gr.Checkbox(label="SEGA Negative Guidance")
186
 
187
 
 
198
  tar_cfg_scale,
199
  edit_concept,
200
  sega_edit_guidance,
201
+ warm_up,
202
  # neg_guidance,
203
  left,
204
  right,