mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 04:37:54 +00:00
upgraded
This commit is contained in:
parent
41dd0cbe31
commit
42fa3489b3
@ -281,6 +281,14 @@ Date: {{date}}
|
|||||||
self._assets_list = contents
|
self._assets_list = contents
|
||||||
return config
|
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):
|
def save_personality(self, package_path=None):
|
||||||
"""
|
"""
|
||||||
Save the personality parameters to a YAML configuration file.
|
Save the personality parameters to a YAML configuration file.
|
||||||
|
2
setup.py
2
setup.py
@ -26,7 +26,7 @@ def get_all_files(path):
|
|||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="lollms",
|
name="lollms",
|
||||||
version="4.0.0",
|
version="4.0.1",
|
||||||
author="Saifeddine ALOUI",
|
author="Saifeddine ALOUI",
|
||||||
author_email="aloui.saifeddine@gmail.com",
|
author_email="aloui.saifeddine@gmail.com",
|
||||||
description="A python library for AI personality definition",
|
description="A python library for AI personality definition",
|
||||||
|
Loading…
Reference in New Issue
Block a user