Corrected reading empty negative prompt from config (it shouldn't turn into None)

This commit is contained in:
MoonRide303 2023-10-18 12:23:12 +02:00
parent 30af33a458
commit c0b4e766fb
3 changed files with 7 additions and 2 deletions

View File

@ -1 +1 @@
version = '2.1.701'
version = '2.1.702'

View File

@ -121,7 +121,8 @@ default_styles = get_config_item_or_set_default(
default_negative_prompt = get_config_item_or_set_default(
key='default_negative_prompt',
default_value='low quality, bad hands, bad eyes, cropped, missing fingers, extra digit',
validator=lambda x: isinstance(x, str)
validator=lambda x: isinstance(x, str),
disable_empty_as_none=True
)
default_positive_prompt = get_config_item_or_set_default(
key='default_positive_prompt',

View File

@ -1,3 +1,7 @@
# 2.1.702
* Corrected reading empty negative prompt from config (it shouldn't turn into None).
# 2.1.701
* Updated FreeU node to v2 (gives less overcooked results).