barreloflube commited on
Commit
ff5aa1a
·
1 Parent(s): e7eda15

Refactor image_tab function to set the "Refiner" checkbox as checked by default

Browse files
Files changed (1) hide show
  1. tabs/images/ui.py +2 -2
tabs/images/ui.py CHANGED
@@ -54,7 +54,7 @@ def image_tab():
54
  globals()[f"lora_remove_{i}"] = gr.Button(value="Remove LoRA", visible=False)
55
 
56
 
57
- with gr.Accordion("Embeddings", open=False) as embeddings_accordion:
58
  with gr.Group():
59
  with gr.Row():
60
  with gr.Group():
@@ -131,7 +131,7 @@ def image_tab():
131
  globals()[var_name] = gr.Slider(label=label, minimum=min_val, maximum=max_val, step=step, value=value, visible=visible, interactive=True)
132
 
133
  with gr.Row():
134
- refiner = gr.Checkbox(label="Refiner", value=False)
135
  vae = gr.Checkbox(label="VAE", value=False)
136
 
137
  # Events
 
54
  globals()[f"lora_remove_{i}"] = gr.Button(value="Remove LoRA", visible=False)
55
 
56
 
57
+ with gr.Accordion("Embeddings", open=False, visible=False) as embeddings_accordion:
58
  with gr.Group():
59
  with gr.Row():
60
  with gr.Group():
 
131
  globals()[var_name] = gr.Slider(label=label, minimum=min_val, maximum=max_val, step=step, value=value, visible=visible, interactive=True)
132
 
133
  with gr.Row():
134
+ refiner = gr.Checkbox(label="Refiner", value=True)
135
  vae = gr.Checkbox(label="VAE", value=False)
136
 
137
  # Events