multimodalart HF staff commited on
Commit
5163d64
1 Parent(s): 868bbe7

Default to 50 steps

Browse files

Reduce the execution time by half, resulting in a smaller queue. Still let the user increase the number of steps if they are unhappy with the result;

Files changed (1) hide show
  1. edit_app.py +1 -1
edit_app.py CHANGED
@@ -131,7 +131,7 @@ def main():
131
  edited_image.style(height=512, width=512)
132
 
133
  with gr.Row():
134
- steps = gr.Number(value=100, precision=0, label="Steps", interactive=True)
135
  randomize_seed = gr.Radio(
136
  ["Fix Seed", "Randomize Seed"],
137
  value="Randomize Seed",
 
131
  edited_image.style(height=512, width=512)
132
 
133
  with gr.Row():
134
+ steps = gr.Number(value=50, precision=0, label="Steps", interactive=True)
135
  randomize_seed = gr.Radio(
136
  ["Fix Seed", "Randomize Seed"],
137
  value="Randomize Seed",