wjs0725 commited on
Commit
788cf07
·
verified ·
1 Parent(s): b18d10b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -201,7 +201,7 @@ def create_demo(model_name: str, device: str = "cuda:0" if torch.cuda.is_availab
201
  with gr.Column():
202
  with gr.Accordion("Advanced Options", open=True):
203
  num_steps = gr.Slider(1, 30, 25, step=1, label="Number of steps")
204
- inject_step = gr.Slider(1, 15, 5, step=1, label="Number of inject steps")
205
  guidance = gr.Slider(1.0, 10.0, 2, step=0.1, label="Guidance", interactive=not is_schnell)
206
  # seed = gr.Textbox(0, label="Seed (-1 for random)", visible=False)
207
  # add_sampling_metadata = gr.Checkbox(label="Add sampling parameters to metadata?", value=False)
 
201
  with gr.Column():
202
  with gr.Accordion("Advanced Options", open=True):
203
  num_steps = gr.Slider(1, 30, 25, step=1, label="Number of steps")
204
+ inject_step = gr.Slider(1, 15, 3, step=1, label="Number of inject steps")
205
  guidance = gr.Slider(1.0, 10.0, 2, step=0.1, label="Guidance", interactive=not is_schnell)
206
  # seed = gr.Textbox(0, label="Seed (-1 for random)", visible=False)
207
  # add_sampling_metadata = gr.Checkbox(label="Add sampling parameters to metadata?", value=False)