This commit is contained in:
Saifeddine ALOUI 2023-08-28 01:47:04 +02:00
parent fe56285948
commit f906c0d98e

3
app.py
View File

@ -663,7 +663,8 @@ class LoLLMsWebUI(LoLLMsAPPI):
personalities[category_folder.name].append(personality_info) personalities[category_folder.name].append(personality_info)
except Exception as ex: except Exception as ex:
print(f"Couldn't load personality from {personality_folder} [{ex}]") ASCIIColors.warning(f"Couldn't load personality from {personality_folder} [{ex}]")
trace_exception(ex)
return json.dumps(personalities) return json.dumps(personalities)
def get_personality(self): def get_personality(self):