update no skip
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ def create_demo(model_name: str):
|
|
215 |
3️⃣ Fill in your target prompt, then adjust the hyperparameters. <br>
|
216 |
4️⃣ Click the "Edit" button to generate your edited image! <br>
|
217 |
|
218 |
-
🔔🔔 [<b>Important</b>] We suggest trying "re_init" and "attn_mask" only when the result is too similar to the original content (e.g. removing objects or changing color).<br>
|
219 |
"""
|
220 |
article = r"""
|
221 |
If our work is helpful, please help to ⭐ the <a href='https://github.com/Xilluill/KV-Edit' target='_blank'>Github Repo</a>. Thanks!
|
@@ -249,7 +249,7 @@ def create_demo(model_name: str):
|
|
249 |
with gr.Column():
|
250 |
with gr.Accordion("Advanced Options", open=True):
|
251 |
|
252 |
-
skip_step = gr.Slider(0, 30,
|
253 |
inversion_guidance = gr.Slider(1.0, 10.0, 1.5, step=0.1, label="inversion Guidance", interactive=not is_schnell)
|
254 |
denoise_guidance = gr.Slider(1.0, 10.0, 5.5, step=0.1, label="denoise Guidance", interactive=not is_schnell)
|
255 |
seed = gr.Textbox('0', label="Seed (-1 for random)", visible=True)
|
|
|
215 |
3️⃣ Fill in your target prompt, then adjust the hyperparameters. <br>
|
216 |
4️⃣ Click the "Edit" button to generate your edited image! <br>
|
217 |
|
218 |
+
🔔🔔 [<b>Important</b>] We suggest trying less skip steps, "re_init" and "attn_mask" only when the result is too similar to the original content (e.g. removing objects or changing color).<br>
|
219 |
"""
|
220 |
article = r"""
|
221 |
If our work is helpful, please help to ⭐ the <a href='https://github.com/Xilluill/KV-Edit' target='_blank'>Github Repo</a>. Thanks!
|
|
|
249 |
with gr.Column():
|
250 |
with gr.Accordion("Advanced Options", open=True):
|
251 |
|
252 |
+
skip_step = gr.Slider(0, 30, 0, step=1, label="Number of skip steps")
|
253 |
inversion_guidance = gr.Slider(1.0, 10.0, 1.5, step=0.1, label="inversion Guidance", interactive=not is_schnell)
|
254 |
denoise_guidance = gr.Slider(1.0, 10.0, 5.5, step=0.1, label="denoise Guidance", interactive=not is_schnell)
|
255 |
seed = gr.Textbox('0', label="Seed (-1 for random)", visible=True)
|