upgraded ui

This commit is contained in:
Saifeddine ALOUI 2024-01-14 01:05:54 +01:00
parent 8d06362e55
commit 75d8fbd3c3
3 changed files with 8 additions and 3 deletions

View File

@ -299,7 +299,7 @@ class LoLLMsAPI(LollmsApplication):
trace_exception(ex) trace_exception(ex)
self.error("Couldn't use the webcam") self.error("Couldn't use the webcam")
@self.socketio.on('create_empty_message') @socketio.on('create_empty_message')
def create_empty_message(data): def create_empty_message(data):
client_id = request.sid client_id = request.sid
type = data.get("type",0) type = data.get("type",0)

7
app.py
View File

@ -87,6 +87,10 @@ if __name__ == "__main__":
from lollms.server.events.lollms_generation_events import add_events as lollms_generation_events_add from lollms.server.events.lollms_generation_events import add_events as lollms_generation_events_add
from lollms.server.events.lollms_personality_events import add_events as lollms_personality_events_add from lollms.server.events.lollms_personality_events import add_events as lollms_personality_events_add
from lollms.server.events.lollms_files_events import add_events as lollms_files_events_add from lollms.server.events.lollms_files_events import add_events as lollms_files_events_add
from lollms.server.events.lollms_model_events import add_events as lollms_model_events_add
from lollms.server.events.lollms_rag_events import add_events as lollms_rag_events_add
from events.lollms_generation_events import add_events as lollms_webui_generation_events_add from events.lollms_generation_events import add_events as lollms_webui_generation_events_add
from events.lollms_discussion_events import add_events as lollms_webui_discussion_events_add from events.lollms_discussion_events import add_events as lollms_webui_discussion_events_add
from events.lollms_chatbox_events import add_events as lollms_chatbox_events_add from events.lollms_chatbox_events import add_events as lollms_chatbox_events_add
@ -127,7 +131,8 @@ if __name__ == "__main__":
lollms_generation_events_add(sio) lollms_generation_events_add(sio)
lollms_personality_events_add(sio) lollms_personality_events_add(sio)
lollms_files_events_add(sio) lollms_files_events_add(sio)
lollms_model_events_add(sio)
lollms_rag_events_add(sio)
lollms_webui_generation_events_add(sio) lollms_webui_generation_events_add(sio)
lollms_webui_discussion_events_add(sio) lollms_webui_discussion_events_add(sio)

@ -1 +1 @@
Subproject commit aad6e2e685eab6acc1d7d67621a1d1b8a9bb3169 Subproject commit 79077ce2429bd45668c88596aa7c1ce0d880bfe5