upgraded core

This commit is contained in:
Saifeddine ALOUI 2023-12-26 02:45:49 +01:00
parent 2df38174cc
commit 5f1365c306
5 changed files with 17 additions and 4 deletions

View File

@ -1,5 +1,5 @@
# =================== Lord Of Large Language Models Configuration file ===========================
version: 30
version: 32
binding_name: null
model_name: null
@ -14,7 +14,7 @@ discussion_prompt_separator: "!@>"
seed: -1
n_predict: 1024
ctx_size: 4084
min_n_predict: 256
min_n_predict: 512
temperature: 0.9
top_k: 50
top_p: 0.95
@ -50,9 +50,12 @@ enable_gpu: true
auto_show_browser: true
# Audio
media_on: false
audio_in_language: 'en-US'
audio_out_voice: null
auto_speak: false
auto_read: false
reading_voice: null
audio_pitch: 1
audio_auto_send_input: true
audio_silenceTimer: 5000
@ -71,3 +74,5 @@ data_vectorization_chunk_size: 512 # chunk size
data_vectorization_overlap_size: 128 # overlap between chunks size
data_vectorization_nb_chunks: 2 # number of chunks to use
data_vectorization_build_keys_words: false # If true, when querrying the database, we use keywords generated from the user prompt instead of the prompt itself.
data_vectorization_force_first_chunk: false # If true, the first chunk of the document will systematically be used
data_vectorization_make_persistance: false # If true, the data will be persistant webween runs

View File

@ -1,5 +1,5 @@
# =================== Lord Of Large Language Models Configuration file ===========================
version: 31
version: 32
binding_name: null
model_name: null
@ -50,10 +50,12 @@ enable_gpu: true
auto_show_browser: true
# Audio
media_on: false
audio_in_language: 'en-US'
audio_out_voice: null
auto_speak: false
auto_read: false
reading_voice: null
audio_pitch: 1
audio_auto_send_input: true
audio_silenceTimer: 5000

View File

@ -45,6 +45,8 @@ def install_sd(lollms_paths:LollmsPaths):
shared_folder = root_dir/"shared"
sd_folder = shared_folder / "auto_sd"
subprocess.run(["git", "clone", "https://github.com/ParisNeo/stable-diffusion-webui.git", str(sd_folder)])
subprocess.run(["git", "clone", "https://github.com/ParisNeo/SD-CN-Animation.git", str(sd_folder/"extensions/SD-CN-Animation")])
ASCIIColors.green("Stable diffusion installed successfully")

View File

@ -53,6 +53,7 @@ class LollmsPaths:
self.gptqlora_path = self.personal_trainers_path / "gptqlora"
self.custom_personalities_path = self.personal_path / "custom_personalities"
self.custom_voices_path = self.personal_path / "custom_voices"
self.binding_models_paths = []
@ -94,6 +95,8 @@ class LollmsPaths:
ASCIIColors.yellow(f"{self.personal_data_path}")
ASCIIColors.red("custom_personalities_path:",end="")
ASCIIColors.yellow(f"{self.custom_personalities_path}")
ASCIIColors.red("custom_voices_path:",end="")
ASCIIColors.yellow(f"{self.custom_voices_path}")
ASCIIColors.green("-------------------------------------------------------------")
@ -145,6 +148,7 @@ class LollmsPaths:
self.personal_user_infos_path.mkdir(parents=True, exist_ok=True)
self.personal_trainers_path.mkdir(parents=True, exist_ok=True)
self.custom_personalities_path.mkdir(parents=True, exist_ok=True)
self.custom_voices_path.mkdir(parents=True, exist_ok=True)
if not self.bindings_zoo_path.exists():

View File

@ -1702,7 +1702,7 @@ class APScript(StateMachine):
def add_file(self, path, callback=None):
if callback is not None:
callback("File added successfully",MSG_TYPE.MSG_TYPE_INFO)
self.personality.add_file(path)
self.personality.add_file(path,callback=callback)
return True
def remove_file(self, path):