- Export V3 comfy_entrypoint only when comfy_api V3 symbols exist, else V1 mappings; narrow the V3 import guard so real import errors surface - Reject age_min > age_max with an input-named ValueError - Validate data file structure at load with path and field in errors - Sync JS sex filter lists with bundled data; test fails on drift - Filter incompatible hair length/style and build/chest/shoulders pairs; user-fixed or allow-listed values win when nothing compatible remains - Join bust as "<size> <shape> bust" - Vocabulary: fix malformed phrases (softly built build, hair worn buzz cut), remove duplicate and conflicting entries, rename Maori to Maori with macron, add skin tones, body types, hair styles, clothing, footwear, accessories, female facial hair and male makeup options - Bump version to 1.4.0
18 lines
596 B
Python
18 lines
596 B
Python
"""ComfyUI_RandomPerson: randomised structured person descriptions.
|
|
|
|
Exports the V3 entrypoint when available, otherwise V1 mappings. WEB_DIRECTORY
|
|
ships the sex-aware widget extension.
|
|
"""
|
|
|
|
from . import nodes as _nodes
|
|
|
|
WEB_DIRECTORY = "./js"
|
|
|
|
if hasattr(_nodes, "comfy_entrypoint"):
|
|
comfy_entrypoint = _nodes.comfy_entrypoint
|
|
__all__ = ["comfy_entrypoint", "WEB_DIRECTORY"]
|
|
else:
|
|
NODE_CLASS_MAPPINGS = _nodes.NODE_CLASS_MAPPINGS
|
|
NODE_DISPLAY_NAME_MAPPINGS = _nodes.NODE_DISPLAY_NAME_MAPPINGS
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|