Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
4b95bff
1
Parent(s):
e6410ba
Update app.py
Browse files
app.py
CHANGED
@@ -160,21 +160,24 @@ with gr.Blocks() as demo:
|
|
160 |
|
161 |
with gr.Accordion("Advanced Options", open=False):
|
162 |
with gr.Row():
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
|
|
|
|
|
|
|
|
170 |
with gr.Column():
|
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.Column():
|
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 |
-
|
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)
|
179 |
# neg_guidance = gr.Checkbox(label="SEGA Negative Guidance")
|
180 |
|
|
|
160 |
|
161 |
with gr.Accordion("Advanced Options", open=False):
|
162 |
with gr.Row():
|
163 |
+
with gr.Column():
|
164 |
+
#inversion
|
165 |
+
steps = gr.Number(value=100, precision=0, label="Num Diffusion Steps", interactive=True)
|
166 |
+
# src_cfg_scale = gr.Number(value=3.5, label=f"Source CFG", interactive=True)
|
167 |
+
|
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)
|
176 |
right = gr.Number(value=0, precision=0, label="Right Shift", interactive=True)
|
177 |
with gr.Column():
|
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 |
|