From 0a56700bf96196a5dc3586a19d56e94c4d33d7c5 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sat, 17 Feb 2024 03:10:18 +0100 Subject: [PATCH] updated --- lollms/server/endpoints/lollms_personalities_infos.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lollms/server/endpoints/lollms_personalities_infos.py b/lollms/server/endpoints/lollms_personalities_infos.py index 0f87088..178bea4 100644 --- a/lollms/server/endpoints/lollms_personalities_infos.py +++ b/lollms/server/endpoints/lollms_personalities_infos.py @@ -234,6 +234,9 @@ class RemoveFileData(BaseModel): @router.post("/remove_file") def remove_file(data:RemoveFileData): + """ + Removes a file form the personality files + """ if lollmsElfServer.personality is None: return {"state":False, "error":"No personality selected"} lollmsElfServer.personality.remove_file(data.name)