Skip to content

Commit

Permalink
limit steps to 2 (gives best results)
Browse files Browse the repository at this point in the history
  • Loading branch information
monorimet committed Jun 2, 2024
1 parent ab06047 commit 33f6c31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/shark_studio/web/ui/sd.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def base_model_changed(base_model_id):
if "turbo" in base_model_id:
new_steps = gr.Dropdown(
value=cmd_opts.steps,
choices=[1, 2, 3],
choices=[1, 2],
label="\U0001F3C3\U0000FE0F Steps",
allow_custom_value=False,
)
Expand Down Expand Up @@ -456,7 +456,7 @@ def base_model_changed(base_model_id):
with gr.Row():
steps = gr.Dropdown(
value=cmd_opts.steps,
choices=[1, 2, 3],
choices=[1, 2],
label="\U0001F3C3\U0000FE0F Steps",
allow_custom_value=True,
)
Expand Down

0 comments on commit 33f6c31

Please sign in to comment.