bugfix as_json changed to as_dict

This commit is contained in:
ParisNeo 2023-05-07 13:46:49 +02:00
parent 0782556045
commit 1830d84aff

2
app.py
View File

@ -239,7 +239,7 @@ class Gpt4AllWebUI(GPT4AllAPI):
def get_current_personality(self):
return jsonify({"personality":self.personality.as_json()})
return jsonify({"personality":self.personality.as_dict()})