xilluill commited on
Commit
39cb3b9
·
1 Parent(s): 3e0e07e

update no skip

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, 4, 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)
 
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)