mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
fix config mapping for default_performance
This commit is contained in:
+1
-1
@@ -236,7 +236,7 @@ default_prompt = get_config_item_or_set_default(
|
||||
default_performance = get_config_item_or_set_default(
|
||||
key='default_performance',
|
||||
default_value='Speed',
|
||||
validator=lambda x: x in modules.flags.performance_selections
|
||||
validator=lambda x: x in [y[1] for y in modules.flags.performance_selections if y[1] == x]
|
||||
)
|
||||
default_advanced_checkbox = get_config_item_or_set_default(
|
||||
key='default_advanced_checkbox',
|
||||
|
||||
Reference in New Issue
Block a user