diff --git a/app.py b/app.py index 7ade255c..d0d39a04 100644 --- a/app.py +++ b/app.py @@ -339,7 +339,7 @@ GPT4All:Welcome! I'm here to assist you with anything you need. What can I do fo def new_discussion(self): title = request.args.get("title") - self.current_discussion = Discussion.create_discussion(self.db_path, title) + self.current_discussion = self.db.create_discussion(self.db_path, title) # Get the current timestamp timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")