This commit is contained in:
Saifeddine ALOUI 2023-08-22 03:42:30 +02:00
parent 41dd0cbe31
commit 42fa3489b3
2 changed files with 9 additions and 1 deletions

View File

@ -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.

View File

@ -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",