Remove ckpt validation of the Prompt Reader node #59

This commit is contained in:
Rhys Yang
2024-02-27 00:58:09 +08:00
parent d6f8598946
commit 88ed9fa966
-3
View File
@@ -807,9 +807,6 @@ class SDParameterGenerator:
output_vae=True,
output_clip=True,
):
if ckpt_name not in SDParameterGenerator.ckpt_list:
raise FileNotFoundError(f"Invalid ckpt_name: {ckpt_name}")
ckpt_path = folder_paths.get_full_path("checkpoints", ckpt_name)
if config_name != "none":
config_path = folder_paths.get_full_path("configs", config_name)