mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-11 12:49:54 +00:00
very cool new stuff
This commit is contained in:
parent
6836028bbb
commit
4eff6cf00d
@ -1 +1 @@
|
||||
Subproject commit 3e3f2904d97368ca57ce7f382c629d39b439de23
|
||||
Subproject commit 8b4dd7af42100d191f7ea031336decddbadef859
|
@ -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"
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit e20c0687ce98f4ed80cf6e1bc7ddcc144be83154
|
||||
Subproject commit 81555a1a6f577dcecb2dbbc9f0c7ccf67a7c4025
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user