mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-06-23 17:53:25 +00:00
very cool new stuff
This commit is contained in:
Submodule lollms/bindings_zoo updated: 3e3f2904d9...8b4dd7af42
@ -30,6 +30,8 @@ class LollmsPaths:
|
||||
|
||||
self.personal_path = personal_path
|
||||
self.personal_configuration_path = personal_path / "configs"
|
||||
self.personal_data_path = personal_path / "data"
|
||||
self.personal_databases_path = personal_path / "databases"
|
||||
self.personal_models_path = personal_path / "models"
|
||||
|
||||
self.create_directories()
|
||||
@ -42,6 +44,9 @@ class LollmsPaths:
|
||||
self.personal_path.mkdir(parents=True, exist_ok=True)
|
||||
self.personal_configuration_path.mkdir(parents=True, exist_ok=True)
|
||||
self.personal_models_path.mkdir(parents=True, exist_ok=True)
|
||||
self.personal_data_path.mkdir(parents=True, exist_ok=True)
|
||||
self.personal_databases_path.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
def copy_default_config(self):
|
||||
local_config_path = self.personal_configuration_path / "local_config.yaml"
|
||||
|
Submodule lollms/personalities_zoo updated: e20c0687ce...81555a1a6f
@ -90,6 +90,7 @@ class APScript:
|
||||
module_spec.loader.exec_module(module)
|
||||
if hasattr(module, "Install"):
|
||||
module.Install(self.personality,force_reinstall=force_reinstall)
|
||||
|
||||
def add_file(self, path):
|
||||
self.files.append(path)
|
||||
return True
|
||||
|
Reference in New Issue
Block a user