fixed cstom personalities

This commit is contained in:
Saifeddine ALOUI 2023-11-06 20:51:39 +01:00
parent 4a135a6cbe
commit 946312fcc5
4 changed files with 4 additions and 4 deletions

2
app.py
View File

@ -1392,7 +1392,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
def serve_personalities(self, filename):
if "custom_personalities" in filename:
path = str(self.lollms_paths.custom_personalities_path)
path = str(self.lollms_paths.custom_personalities_path/("/".join(filename.split("/")[1:-1])))
else:
path = str(self.lollms_paths.personalities_zoo_path/("/".join(filename.split("/")[:-1])))

@ -1 +1 @@
Subproject commit e3b3863df57085a3c94b43a68e798948a141d948
Subproject commit 06698e515c6125a8df4c00e265515827459d7e85

View File

@ -17,7 +17,7 @@ requirements_dev = read_requirements("requirements_dev.txt")
setuptools.setup(
name="Lollms-webui",
version="5.0.1",
version="5.0.2",
author="Saifeddine ALOUI",
author_email="aloui.saifeddine@gmail.com",
description="A web ui for running chat models with different bindings. Supports multiple personalities and extensions.",

@ -1 +1 @@
Subproject commit e0b1e8cb8525020e73839f374fbf6af6969a6a28
Subproject commit cec9b332e59bcaecf06f303d99229463e1435687