From 946312fcc51da7bb58d52fa300c384b2320278e5 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 6 Nov 2023 20:51:39 +0100 Subject: [PATCH] fixed cstom personalities --- app.py | 2 +- lollms_core | 2 +- setup.py | 2 +- zoos/models_zoo | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app.py b/app.py index 9066c142..c0b4d018 100644 --- a/app.py +++ b/app.py @@ -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]))) diff --git a/lollms_core b/lollms_core index e3b3863d..06698e51 160000 --- a/lollms_core +++ b/lollms_core @@ -1 +1 @@ -Subproject commit e3b3863df57085a3c94b43a68e798948a141d948 +Subproject commit 06698e515c6125a8df4c00e265515827459d7e85 diff --git a/setup.py b/setup.py index e139316f..1eb7871d 100644 --- a/setup.py +++ b/setup.py @@ -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.", diff --git a/zoos/models_zoo b/zoos/models_zoo index e0b1e8cb..cec9b332 160000 --- a/zoos/models_zoo +++ b/zoos/models_zoo @@ -1 +1 @@ -Subproject commit e0b1e8cb8525020e73839f374fbf6af6969a6a28 +Subproject commit cec9b332e59bcaecf06f303d99229463e1435687