chflame163 / ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
MIT License
1.54k stars 88 forks source link

request optimize load time, lazy import like #37 #225

Open kunamin opened 3 months ago

kunamin commented 3 months ago

Please refactor the 'mediapipe_facial_segment.py' file by moving the line 'import mediapipe as mp' inside the 'def facial_feature_segment()' function like #37 .

chflame163 commented 3 months ago

Loading time has been optimized. Thanks.