From 33f6c312d9980649cc59a6f4dcc403f9fe257cbe Mon Sep 17 00:00:00 2001 From: Ean Garvey Date: Sun, 2 Jun 2024 14:25:29 -0500 Subject: [PATCH] limit steps to 2 (gives best results) --- apps/shark_studio/web/ui/sd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/shark_studio/web/ui/sd.py b/apps/shark_studio/web/ui/sd.py index 50d9ef30b7..3a605926f4 100644 --- a/apps/shark_studio/web/ui/sd.py +++ b/apps/shark_studio/web/ui/sd.py @@ -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, ) @@ -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, )