Linoy Tsaban commited on
Commit
71ff7e9
1 Parent(s): 622ce03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -167,11 +167,12 @@ with gr.Blocks() as demo:
167
  # reconstruction
168
  skip = gr.Slider(minimum=0, maximum=40, value=36, precision=0, label="Skip Steps", interactive=True)
169
  tar_cfg_scale = gr.Slider(minimum=7, maximum=18,value=15, label=f"Guidance Scale", interactive=True)
170
-
171
- left = gr.Number(value=0, precision=0, label="Left Shift", interactive=True)
172
- right = gr.Number(value=0, precision=0, label="Right Shift", interactive=True)
173
- top = gr.Number(value=0, precision=0, label="Top Shift", interactive=True)
174
- bottom = gr.Number(value=0, precision=0, label="Bottom Shift", interactive=True)
 
175
  # edit
176
  sega_edit_guidance = gr.Slider(value=10, label=f"SEGA Edit Guidance Scale", interactive=True)
177
  # warm_up = gr.Number(value=1, label=f"SEGA Warm-up Steps", interactive=True)
 
167
  # reconstruction
168
  skip = gr.Slider(minimum=0, maximum=40, value=36, precision=0, label="Skip Steps", interactive=True)
169
  tar_cfg_scale = gr.Slider(minimum=7, maximum=18,value=15, label=f"Guidance Scale", interactive=True)
170
+ with gr.Colmn():
171
+ left = gr.Number(value=0, precision=0, label="Left Shift", interactive=True)
172
+ right = gr.Number(value=0, precision=0, label="Right Shift", interactive=True)
173
+ with gr.Colmn():
174
+ top = gr.Number(value=0, precision=0, label="Top Shift", interactive=True)
175
+ bottom = gr.Number(value=0, precision=0, label="Bottom Shift", interactive=True)
176
  # edit
177
  sega_edit_guidance = gr.Slider(value=10, label=f"SEGA Edit Guidance Scale", interactive=True)
178
  # warm_up = gr.Number(value=1, label=f"SEGA Warm-up Steps", interactive=True)