This commit is contained in:
Saifeddine ALOUI 2023-06-22 22:00:26 +02:00
parent 1276fca977
commit 991f472bb2

2
app.py
View File

@ -325,7 +325,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
personalities[language_folder.name][category_folder.name] = []
for personality_folder in category_folder.iterdir():
pers = personality_folder.stem
if personality_folder.is_dir():
if personality_folder.is_dir() and personality_folder.stem !='.git':
personality_info = {"folder":personality_folder.stem}
config_path = personality_folder / 'config.yaml'
if not config_path.exists():