mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
update setup
This commit is contained in:
@@ -365,7 +365,6 @@ def create_output_panel(tabname, outdir):
|
||||
|
||||
def create_sampler_and_steps_selection(choices, tabname):
|
||||
with FormRow(elem_id=f"sampler_selection_{tabname}"):
|
||||
print(tabname, [x.name for x in choices])
|
||||
sampler_index = gr.Dropdown(label='Sampling method', elem_id=f"{tabname}_sampling", choices=[x.name for x in choices], value="UniPC" if tabname == 'txt2img' else "Euler a", type="index")
|
||||
steps = gr.Slider(minimum=1, maximum=150, step=1, elem_id=f"{tabname}_steps", label="Sampling steps", value=10 if tabname == 'txt2img' else 20)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user