Upload custom_nodes/ComfyUI-Crystools/core/config.py with huggingface_hub
Browse files
custom_nodes/ComfyUI-Crystools/core/config.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import logging
|
| 3 |
+
|
| 4 |
+
CONFIG = {
|
| 5 |
+
"loglevel": int(os.environ.get("CRYSTOOLS_LOGLEVEL", logging.INFO)),
|
| 6 |
+
"indent": int(os.environ.get("CRYSTOOLS_INDENT", 2))
|
| 7 |
+
}
|