mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
added processable welcome message
This commit is contained in:
parent
069278f106
commit
6d1425742b
@ -53,6 +53,10 @@ def add_events(sio:socketio):
|
||||
lollmsElfServer.session.get_client(client_id).discussion = lollmsElfServer.db.load_last_discussion()
|
||||
|
||||
if lollmsElfServer.personality.welcome_message!="":
|
||||
if lollmsElfServer.personality.processor:
|
||||
welcome_message = lollmsElfServer.personality.processor.get_welcome()
|
||||
if welcome_message is not None:
|
||||
lollmsElfServer.personality.welcome_message = welcome_message
|
||||
if lollmsElfServer.personality.welcome_audio_path.exists():
|
||||
for voice in lollmsElfServer.personality.welcome_audio_path.iterdir():
|
||||
if voice.suffix.lower() in [".wav",".mp3"]:
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 03072a36cef484a6ad0616b49b4fcf24e0b433f1
|
||||
Subproject commit c319cfe00cc9bfe725bbc662ffefa92af6118521
|
@ -1 +1 @@
|
||||
Subproject commit f37030eab7775d12bcbe9e8413662d86ef987469
|
||||
Subproject commit aae43d98e62a3090eedd0893e4f22336225e93bd
|
Loading…
Reference in New Issue
Block a user