Removed unwanted code

This commit is contained in:
Vijay 2024-11-10 10:13:26 +05:30
parent cadadc89cc
commit 23593a6b85
1 changed files with 0 additions and 4 deletions

View File

@ -478,10 +478,6 @@ class SaveLatent:
class LoadLatent:
@classmethod
def INPUT_TYPES(s):
input_dir = os.path.join(folder_paths.get_output_directory(), "latents") # Adjusts to "Input/Latent"
if not os.path.exists(input_dir):
os.makedirs(input_dir, exist_ok=True)
files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f)) and f.endswith(".latent")]
return {"required": {"latent": (folder_paths.get_filename_list("latents"), {"tooltip": "The name of the latent from output/latents to load."})}}