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:
6
comfy/options.py
Normal file
6
comfy/options.py
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
args_parsing = False
|
||||
|
||||
def enable_args_parsing(enable=True):
|
||||
global args_parsing
|
||||
args_parsing = enable
|
Reference in New Issue
Block a user