mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-04-18 10:50:45 -07:00
add an option to enable sections from extras tab in txt2img/img2img
fix some style inconsistenices
This commit is contained in:
parent
645f4e7ef8
commit
7a14c8ab45
9 changed files with 133 additions and 23 deletions
|
|
@ -48,3 +48,11 @@ class FormColorPicker(gr.ColorPicker, gr.components.FormComponent):
|
|||
def get_block_name(self):
|
||||
return "colorpicker"
|
||||
|
||||
|
||||
class DropdownMulti(gr.Dropdown):
|
||||
"""Same as gr.Dropdown but always multiselect"""
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(multiselect=True, **kwargs)
|
||||
|
||||
def get_block_name(self):
|
||||
return "dropdown"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue