Hermes Bot commited on
Commit
84995ff
·
1 Parent(s): 704a7f8

Remove inner Column from txt2img UI to fix Dropdown page error

Browse files
Files changed (1) hide show
  1. ui/shared/txt2img_ui.py +3 -4
ui/shared/txt2img_ui.py CHANGED
@@ -33,10 +33,9 @@ def create_ui():
33
  components[f'neg_prompt_{prefix}'] = gr.Text(label="Negative prompt", lines=3)
34
 
35
  # Base parameters and result gallery
36
- with gr.Column():
37
- param_defaults = {'w': 1024, 'h': 1024, 'cs_vis': False, 'cs_val': 1}
38
- components.update(create_base_parameter_ui(prefix, param_defaults))
39
- components[f'result_{prefix}'] = gr.Gallery(label="Result", show_label=False, columns=2, object_fit="contain", height=627)
40
 
41
 
42
 
 
33
  components[f'neg_prompt_{prefix}'] = gr.Text(label="Negative prompt", lines=3)
34
 
35
  # Base parameters and result gallery
36
+ param_defaults = {'w': 1024, 'h': 1024, 'cs_vis': False, 'cs_val': 1}
37
+ components.update(create_base_parameter_ui(prefix, param_defaults))
38
+ components[f'result_{prefix}'] = gr.Gallery(label="Result", show_label=False, columns=2, object_fit="contain", height=627)
 
39
 
40
 
41