remove restriction for maximum default_max_image_number value

This commit is contained in:
Manuel Schmid 2023-12-27 17:16:20 +01:00
parent 97803bbe9c
commit 82f82e7941
No known key found for this signature in database
GPG Key ID: 32C4F7569B40B84B
2 changed files with 3 additions and 2 deletions

View File

@ -280,8 +280,8 @@ default_advanced_checkbox = get_config_item_or_set_default(
)
default_max_image_number = get_config_item_or_set_default(
key='default_max_image_number',
default_value=4,
validator=lambda x: isinstance(x, int) and x >= 1 and x <= 32
default_value=32,
validator=lambda x: isinstance(x, int) and x >= 1
)
default_image_number = get_config_item_or_set_default(
key='default_image_number',

View File

@ -16,6 +16,7 @@ Included adjustments:
* 🐛 https://github.com/lllyasviel/Fooocus/pull/1608 - skip free_memory for describe (interrogate)
* ✨ show more details for each performance setting, e.g. steps
* ✨ add default_overwrite_step handling for meta data and gradio (allows turbo preset switching to set default_overwrite_step correctly)
* ✨ add config setting for default_max_image_number
✨ = new feature<br>
🐛 = bugfix