mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 20:57:58 +00:00
Fixed avatars problem
This commit is contained in:
parent
662dc241bb
commit
63b0938878
@ -138,7 +138,7 @@ def get_all_personalities():
|
|||||||
if lollmsElfServer.personality.personality_folder_name==pers:
|
if lollmsElfServer.personality.personality_folder_name==pers:
|
||||||
personality = lollmsElfServer.personality
|
personality = lollmsElfServer.personality
|
||||||
lollmsElfServer.lollms_paths.custom_personalities_path
|
lollmsElfServer.lollms_paths.custom_personalities_path
|
||||||
real_assets_path = lollmsElfServer.lollms_paths.personalities_zoo_path / personality.personality_folder_name / 'assets'
|
real_assets_path = lollmsElfServer.lollms_paths.personalities_zoo_path / cat / personality.personality_folder_name / 'assets'
|
||||||
category = personality.category if category_folder!=lollmsElfServer.lollms_paths.custom_personalities_path!=category_folder else "custom_personalities"
|
category = personality.category if category_folder!=lollmsElfServer.lollms_paths.custom_personalities_path!=category_folder else "custom_personalities"
|
||||||
assets_path = Path("personalities") / category / personality.personality_folder_name / 'assets'
|
assets_path = Path("personalities") / category / personality.personality_folder_name / 'assets'
|
||||||
gif_logo_path = assets_path / 'logo.gif'
|
gif_logo_path = assets_path / 'logo.gif'
|
||||||
|
Loading…
Reference in New Issue
Block a user