From 63b09388787cb244e2dfed7422cfd91f8549a379 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sun, 10 Nov 2024 21:44:19 +0100 Subject: [PATCH] Fixed avatars problem --- lollms/server/endpoints/lollms_personalities_infos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lollms/server/endpoints/lollms_personalities_infos.py b/lollms/server/endpoints/lollms_personalities_infos.py index a3e48a6..021083a 100644 --- a/lollms/server/endpoints/lollms_personalities_infos.py +++ b/lollms/server/endpoints/lollms_personalities_infos.py @@ -138,7 +138,7 @@ def get_all_personalities(): if lollmsElfServer.personality.personality_folder_name==pers: personality = lollmsElfServer.personality 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" assets_path = Path("personalities") / category / personality.personality_folder_name / 'assets' gif_logo_path = assets_path / 'logo.gif'