mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-24 06:36:37 +00:00
sync
This commit is contained in:
parent
16801aad9d
commit
b0be864770
@ -475,6 +475,7 @@ def start_recording(data:Identification):
|
||||
lollmsElfServer,
|
||||
lollmsElfServer.sio,
|
||||
lollmsElfServer.personality,
|
||||
client=client,
|
||||
threshold=1000,
|
||||
silence_duration=2,
|
||||
sound_threshold_percentage=10,
|
||||
|
@ -47,7 +47,6 @@ def add_events(sio:socketio):
|
||||
client.first_chunk=True
|
||||
|
||||
|
||||
|
||||
if not lollmsElfServer.model:
|
||||
ASCIIColors.error("Model not selected. Please select a model")
|
||||
lollmsElfServer.error("Model not selected. Please select a model", client_id=client_id)
|
||||
@ -193,3 +192,7 @@ def add_events(sio:socketio):
|
||||
client.generation_thread = threading.Thread(target=lollmsElfServer.start_message_generation, args=(message, message.id, client_id, True))
|
||||
client.generation_thread.start()
|
||||
|
||||
#add functions to lollm
|
||||
lollmsElfServer.handle_generate_msg = handle_generate_msg
|
||||
lollmsElfServer.generate_msg_with_internet = generate_msg_with_internet
|
||||
lollmsElfServer.handle_continue_generate_msg_from = handle_continue_generate_msg_from
|
@ -73,7 +73,7 @@ def add_events(sio:socketio):
|
||||
lollmsElfServer,
|
||||
lollmsElfServer.sio,
|
||||
lollmsElfServer.personality,
|
||||
lollmsElfServer.db,
|
||||
client=client,
|
||||
threshold=1000,
|
||||
silence_duration=2,
|
||||
sound_threshold_percentage=10,
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 536663047cc071fe5f0ec4387f2d2591386db2f6
|
||||
Subproject commit 5e0f38da1bf4620713f196a24ba1332499fcad72
|
@ -143,7 +143,6 @@ class LOLLMSWebUI(LOLLMSElfServer):
|
||||
self.config_file_path = config.file_path
|
||||
self.cancel_gen = False
|
||||
|
||||
|
||||
if self.config.auto_update:
|
||||
if self.check_update_():
|
||||
ASCIIColors.info("New version found. Updating!")
|
||||
|
Loading…
Reference in New Issue
Block a user