1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Only parse command line args when main.py is called.

This commit is contained in:
comfyanonymous
2023-09-13 11:38:20 -04:00
parent 30de95e4b4
commit 3039b08eb1
3 changed files with 14 additions and 2 deletions

6
comfy/options.py Normal file
View File

@@ -0,0 +1,6 @@
args_parsing = False
def enable_args_parsing(enable=True):
global args_parsing
args_parsing = enable