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

Refactor image_tab function to update default values for checkboxes

Browse files
Files changed (1) hide show
  1. tabs/images/ui.py +2 -2
tabs/images/ui.py CHANGED
@@ -131,8 +131,8 @@ 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=True)
135
- vae = gr.Checkbox(label="VAE", value=False)
136
 
137
  # Events
138
  # Base Options
 
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=True)
136
 
137
  # Events
138
  # Base Options