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

View File

@@ -1,3 +1,6 @@
import comfy.options
comfy.options.enable_args_parsing()
import os
import importlib.util
import folder_paths