error:
'''
File "ComfyUI/custom_nodes/human-parser-comfyui-node/utils.py", line 90, in generate
model_path = check_model_path(model_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "ComfyUI/custom_nodes/human-parser-comfyui-node/utils.py", line 72, in check_model_path
if not os.path.exists(model_path):
^^
NameError: name 'os' is not defined
'''
- Add permissions for issue writing
- Set condition to run job only for 'cozymantis' repository owner
- Update action version from 'main' to 'v1' for stability and consistency
# If not, cwd is likely the folder just up from ComfyUI
# There is likely a better way to do this, but this is the best to make sure those without issues now will still work after this fix.
# I assume this is an issue because of the start.bat file for portable Windows users.