From 88ed9fa966021a4b1cd0dc40473845fb945c4969 Mon Sep 17 00:00:00 2001 From: Rhys Yang Date: Tue, 27 Feb 2024 00:57:02 +0800 Subject: [PATCH] Remove ckpt validation of the `Prompt Reader` node #59 --- nodes.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nodes.py b/nodes.py index 2b852f3..14fe1fd 100644 --- a/nodes.py +++ b/nodes.py @@ -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)