fkunn1326/openpose-editor

Please wrap the code in an IIFE or remove/rename the `gradioApp` function.

journey-ad opened this issue · 1 comments

Describe the bug
Most extensions use the gradioApp function to obtain the root node, but this extension overrides the original gradioApp function in webui and returns an inconsistent node, which causes errors in other extensions.

To avoid this situation, please wrap the code in an IIFE or remove/rename gradioApp.

My suggestion is to use an IIFE to avoid possible global variable naming conflicts.