From adef9a41123c6b296a2e486324e8fd7795d6e605 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Wed, 10 Apr 2024 09:51:58 +0200 Subject: [PATCH] final fix --- lollms/personality.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lollms/personality.py b/lollms/personality.py index 5f07ac8..368e542 100644 --- a/lollms/personality.py +++ b/lollms/personality.py @@ -1012,6 +1012,7 @@ class AIPersonality: self.new_message("",MSG_TYPE.MSG_TYPE_FULL) output = f'\n\n' self.full(output) + self.app.close_message(client.client_id if client is not None else 0) if self.model.binding_type not in [BindingType.TEXT_IMAGE, BindingType.TEXT_IMAGE_VIDEO]: # self.ShowBlockingMessage("Understanding image (please wait)") @@ -1022,6 +1023,7 @@ class AIPersonality: output += "## image description :\n"+ self.model.interrogate_blip([img])[0] # output += "## image description :\n"+ self.model.qna_blip([img],"q:Describe this photo with as much details as possible.\na:")[0] self.full(output) + self.app.close_message(client.client_id if client is not None else 0) self.HideBlockingMessage("Understanding image (please wait)") if self.config.debug: ASCIIColors.yellow(output)