Fixed BIGMIN and BIGMAX to conform with javascript limits, pretty-fied deprecated node

This commit is contained in:
Jedrzej Kosinski
2024-03-31 01:30:07 -05:00
parent ab0c75999b
commit 829d10ddc0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -275,5 +275,5 @@ NODE_DISPLAY_NAME_MAPPINGS = {
# LOOSEControl
#"ACN_ControlNetLoaderWithLoraAdvanced": "Load Adv. ControlNet Model w/ LoRA 🛂🅐🅒🅝",
# Deprecated
"LoadImagesFromDirectory": "Load Images [DEPRECATED] 🛂🅐🅒🅝",
"LoadImagesFromDirectory": "🚫Load Images [DEPRECATED] 🛂🅐🅒🅝",
}
+2 -2
View File
@@ -12,8 +12,8 @@ from comfy.model_patcher import ModelPatcher
from .logger import logger
BIGMIN = -(2**63-1)
BIGMAX = (2**63-1)
BIGMIN = -(2**53-1)
BIGMAX = (2**53-1)
def load_torch_file_with_dict_factory(controlnet_data: dict[str, Tensor], orig_load_torch_file: Callable):
def load_torch_file_with_dict(*args, **kwargs):