mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
feat: add detection prompt dataset for quick selection
This commit is contained in:
+3
-3
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user