mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +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,
|
||||
|
@ -46,8 +46,7 @@ def add_events(sio:socketio):
|
||||
client.continuing=False
|
||||
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
|
@ -71,9 +71,9 @@ def add_events(sio:socketio):
|
||||
lollmsElfServer.summoned = False
|
||||
lollmsElfServer.audio_cap = AudioRecorder(
|
||||
lollmsElfServer,
|
||||
lollmsElfServer.sio,
|
||||
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
|
@ -142,7 +142,6 @@ class LOLLMSWebUI(LOLLMSElfServer):
|
||||
|
||||
self.config_file_path = config.file_path
|
||||
self.cancel_gen = False
|
||||
|
||||
|
||||
if self.config.auto_update:
|
||||
if self.check_update_():
|
||||
|
Loading…
Reference in New Issue
Block a user