2.1.812
This commit is contained in:
parent
a9bd188555
commit
cbe66fd5e0
@ -1 +1 @@
|
||||
version = '2.1.811'
|
||||
version = '2.1.812'
|
||||
|
@ -206,6 +206,11 @@ default_prompt = get_config_item_or_set_default(
|
||||
validator=lambda x: isinstance(x, str),
|
||||
disable_empty_as_none=True
|
||||
)
|
||||
default_performance = get_config_item_or_set_default(
|
||||
key='default_performance',
|
||||
default_value='Speed',
|
||||
validator=lambda x: x in modules.flags.performance_selections
|
||||
)
|
||||
default_advanced_checkbox = get_config_item_or_set_default(
|
||||
key='default_advanced_checkbox',
|
||||
default_value=False,
|
||||
|
@ -34,3 +34,5 @@ default_parameters = {
|
||||
|
||||
inpaint_engine_versions = ['v1', 'v2.5', 'v2.6']
|
||||
default_inpaint_engine_version = 'v2.6'
|
||||
|
||||
performance_selections = ['Speed', 'Quality', 'Extreme Speed']
|
||||
|
@ -1,3 +1,8 @@
|
||||
# 2.1.812
|
||||
|
||||
* Allow preset to set default performance.
|
||||
* heunpp2 sampler.
|
||||
|
||||
# 2.1.810
|
||||
|
||||
* Added hints to config_modification_tutorial.txt
|
||||
|
4
webui.py
4
webui.py
@ -192,8 +192,8 @@ with shared.gradio_root:
|
||||
with gr.Column(scale=1, visible=modules.config.default_advanced_checkbox) as advanced_column:
|
||||
with gr.Tab(label='Setting'):
|
||||
performance_selection = gr.Radio(label='Performance',
|
||||
choices=['Speed', 'Quality', 'Extreme Speed'],
|
||||
value='Speed')
|
||||
choices=modules.flags.performance_selections,
|
||||
value=modules.config.default_performance)
|
||||
aspect_ratios_selection = gr.Radio(label='Aspect Ratios', choices=modules.config.available_aspect_ratios,
|
||||
value=modules.config.default_aspect_ratio, info='width × height',
|
||||
elem_classes='aspect_ratios')
|
||||
|
Loading…
Reference in New Issue
Block a user