mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 10:46:27 +00:00
fixed typo
This commit is contained in:
parent
08c56dcb6a
commit
f63262935c
@ -71,7 +71,7 @@ def add_events(sio:socketio):
|
||||
if lollmsElfServer.config.current_language and current_language!= default_language:
|
||||
language_path = lollmsElfServer.lollms_paths.personal_configuration_path/"personalities"/lollmsElfServer.personality.name/f"languages_{current_language}.yaml"
|
||||
if not language_path.exists():
|
||||
lollmsElfServer.ShowBlockingMessage(f"This is the first time this personality seaks {current_language}\nLollms is reconditionning the persona in that language.\nThis will be done just once. Next time, the personality will speak {current_language} out of the box")
|
||||
lollmsElfServer.ShowBlockingMessage(f"This is the first time this personality speaks {current_language}\nLollms is reconditionning the persona in that language.\nThis will be done just once. Next time, the personality will speak {current_language} out of the box")
|
||||
language_path.parent.mkdir(exist_ok=True, parents=True)
|
||||
conditionning = "!@>system: "+lollmsElfServer.personality.fast_gen(f"!@>instruction: Translate the following text to {current_language}:\n{lollmsElfServer.personality.personality_conditioning.replace('!@>system:','')}\n!@>translation:\n")
|
||||
welcome_message = lollmsElfServer.personality.fast_gen(f"!@>instruction: Translate the following text to {current_language}:\n{lollmsElfServer.personality.welcome_message}\n!@>translation:\n")
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 0582fb3d01a5672f2bd2bfa218bb9c185fa7525a
|
||||
Subproject commit 7c74f6a6c8c515908e90c78fac73670da584995f
|
Loading…
Reference in New Issue
Block a user