feat: add VAE select

This commit is contained in:
Manuel Schmid
2024-05-04 20:36:47 +02:00
parent c36e951781
commit 8e6299b898
7 changed files with 49 additions and 20 deletions
+3
View File
@@ -371,6 +371,9 @@ def is_json(data: str) -> bool:
def get_file_from_folder_list(name, folders):
if not isinstance(folders, list):
folders = [folders]
for folder in folders:
filename = os.path.abspath(os.path.realpath(os.path.join(folder, name)))
if os.path.isfile(filename):