mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-02-09 20:31:12 +00:00
Update app.py
This commit is contained in:
parent
73f175d90b
commit
dead0aaf91
@ -67,9 +67,6 @@ class LollmsApplication(LoLLMsCom):
|
|||||||
self.long_term_memory = None
|
self.long_term_memory = None
|
||||||
|
|
||||||
self.tts = None
|
self.tts = None
|
||||||
self.session = Session(lollms_paths)
|
|
||||||
self.skills_library = SkillsLibrary(self.lollms_paths.personal_skills_path/(self.config.skills_lib_database_name+".sqlite"))
|
|
||||||
self.tasks_library = TasksLibrary(self)
|
|
||||||
|
|
||||||
self.handle_generate_msg: Callable[[str, Dict], None] = None
|
self.handle_generate_msg: Callable[[str, Dict], None] = None
|
||||||
self.generate_msg_with_internet: Callable[[str, Dict], None] = None
|
self.generate_msg_with_internet: Callable[[str, Dict], None] = None
|
||||||
@ -171,6 +168,11 @@ class LollmsApplication(LoLLMsCom):
|
|||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
trace_exception(ex)
|
trace_exception(ex)
|
||||||
|
|
||||||
|
|
||||||
|
self.session = Session(lollms_paths)
|
||||||
|
self.skills_library = SkillsLibrary(self.lollms_paths.personal_skills_path/(self.config.skills_lib_database_name+".sqlite"))
|
||||||
|
self.tasks_library = TasksLibrary(self)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def check_internet_connection():
|
def check_internet_connection():
|
||||||
global is_internet_available
|
global is_internet_available
|
||||||
|
Loading…
x
Reference in New Issue
Block a user