mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 21:03:07 +00:00
aesthetics
This commit is contained in:
parent
a3926a05fe
commit
1b268a8897
6
app.py
6
app.py
@ -513,9 +513,9 @@ class Gpt4AllWebUI(GPT4AllAPI):
|
||||
return "title renamed successfully"
|
||||
|
||||
def load_discussion(self):
|
||||
print("Loading discussion")
|
||||
print("- Loading discussion")
|
||||
data = request.get_json()
|
||||
print("Recovered json data")
|
||||
print(" Recovered json data")
|
||||
if "id" in data:
|
||||
discussion_id = data["id"]
|
||||
self.current_discussion = Discussion(discussion_id, self.db)
|
||||
@ -525,7 +525,7 @@ class Gpt4AllWebUI(GPT4AllAPI):
|
||||
self.current_discussion = Discussion(discussion_id, self.db)
|
||||
else:
|
||||
self.current_discussion = self.db.create_discussion()
|
||||
print(f"Discussion id :{discussion_id}")
|
||||
print(f" Discussion id :{discussion_id}")
|
||||
messages = self.current_discussion.get_messages()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user