mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-20 17:22:47 +00:00
bugfix: database usage
This commit is contained in:
parent
ed8181aa53
commit
ff3a6d3123
2
app.py
2
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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user