Update Text.py

This commit is contained in:
XchanBik
2025-05-10 18:27:18 +02:00
committed by GitHub
parent 30a0829f33
commit 73b04beee4
+2 -2
View File
@@ -2,12 +2,12 @@ cat = "XchanBik/Text"
import os
import folder_paths
from .Utils import get_filename_list
from .Utils import get_files_with_ext
class LoraTextLoader:
@classmethod
def INPUT_TYPES(cls):
lora_list = get_filename_list("loras", extension=".txt")
lora_list = get_files_with_ext("loras", ".txt")
if 0 == len(lora_list):
lora_list.insert(0, "None")
return {