feat: add detection prompt dataset for quick selection

This commit is contained in:
Manuel Schmid
2024-06-19 00:58:55 +02:00
parent 3b55e64990
commit 22e1b08e4f
2 changed files with 24 additions and 7 deletions
+3 -3
View File
@@ -501,8 +501,8 @@ example_inpaint_prompts = get_config_item_or_set_default(
validator=lambda x: isinstance(x, list) and all(isinstance(v, str) for v in x),
expected_type=list
)
example_enhance_prompts = get_config_item_or_set_default(
key='example_enhance_prompts',
example_enhance_detection_prompts = get_config_item_or_set_default(
key='example_enhance_detection_prompts',
default_value=[
'face', 'eye', 'mouth', 'hair', 'hand', 'body'
],
@@ -547,7 +547,7 @@ metadata_created_by = get_config_item_or_set_default(
)
example_inpaint_prompts = [[x] for x in example_inpaint_prompts]
example_enhance_prompts = [[x] for x in example_enhance_prompts]
example_enhance_detection_prompts = [[x] for x in example_enhance_detection_prompts]
default_inpaint_mask_model = get_config_item_or_set_default(
key='default_inpaint_mask_model',