Merge branch 'develop' into lora-reference-parsing

This commit is contained in:
Manuel Schmid
2024-05-18 17:00:25 +02:00
committed by GitHub
31 changed files with 734 additions and 100 deletions
+3
View File
@@ -362,6 +362,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):