From 364c5e0e283d9b0c3fc9ca9c2a94df85d86907de Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Mon, 10 Apr 2023 11:04:38 +0200 Subject: [PATCH] Bugfix: Verification of last discussion --- app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app.py b/app.py index ae3595de..add5c18f 100644 --- a/app.py +++ b/app.py @@ -252,9 +252,7 @@ GPT4All:Welcome! I'm here to assist you with anything you need. What can I do fo self.stop = True try: - if self.current_discussion is None or not self.db.does_last_discussion_have_messages( - self.db_path - ): + if self.current_discussion is None or not self.db.does_last_discussion_have_messages(): self.current_discussion = self.db.create_discussion() message_id = self.current_discussion.add_message(