mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 12:47:58 +00:00
Update lollms_personalities_infos.py
This commit is contained in:
parent
8ef6f84939
commit
6553ea24e1
@ -571,6 +571,8 @@ def select_personality(data:PersonalitySelectionInfos):
|
||||
print(f"Selected {lollmsElfServer.personality.name}")
|
||||
|
||||
language = lollmsElfServer.config.current_language
|
||||
if lollmsElfServer.personality.language is None:
|
||||
lollmsElfServer.personality.language = "english"
|
||||
default_language = lollmsElfServer.personality.language.lower().strip().split()[0]
|
||||
|
||||
if language != default_language:
|
||||
|
Loading…
Reference in New Issue
Block a user