From 42fa3489b3fd15b0b8eb91968364610e2ca34d39 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 22 Aug 2023 03:42:30 +0200 Subject: [PATCH] upgraded --- lollms/personality.py | 8 ++++++++ setup.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lollms/personality.py b/lollms/personality.py index 517c199..0a95c6d 100644 --- a/lollms/personality.py +++ b/lollms/personality.py @@ -281,6 +281,14 @@ Date: {{date}} self._assets_list = contents return config + def add_file(self, path, callback=None): + if callback is not None: + callback("File added successfully",MSG_TYPE.MSG_TYPE_INFO) + self.files.append(path) + + return True + + def save_personality(self, package_path=None): """ Save the personality parameters to a YAML configuration file. diff --git a/setup.py b/setup.py index ac9ac2b..ab37936 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def get_all_files(path): setuptools.setup( name="lollms", - version="4.0.0", + version="4.0.1", author="Saifeddine ALOUI", author_email="aloui.saifeddine@gmail.com", description="A python library for AI personality definition",