Fix node spec compatbility with new comfy frontend

This commit is contained in:
christian-byrne
2024-08-24 15:04:57 -07:00
parent eaac2c2265
commit 5562755385
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class CivitAI_Checkpoint_Loader:
"ckpt_name": (checkpoints,),
},
"optional": {
"api_key": ("STRING", {"default": None, "multiline": False}),
"api_key": ("STRING", {"default": "", "multiline": False}),
"download_chunks": ("INT", {"default": 4, "min": 1, "max": 12, "step": 1}),
"download_path": (list(checkpoint_paths.keys()),),
},
+1 -1
View File
@@ -44,7 +44,7 @@ class CivitAI_LORA_Loader:
},
"optional": {
"api_key": ("STRING", {"default": None, "multiline": False}),
"api_key": ("STRING", {"default": "", "multiline": False}),
"download_chunks": ("INT", {"default": 4, "min": 1, "max": 12, "step": 1}),
"download_path": (list(lora_paths),),
},