From 1830d84aff7a5495f6545b1bcf061d17019c51db Mon Sep 17 00:00:00 2001 From: ParisNeo Date: Sun, 7 May 2023 13:46:49 +0200 Subject: [PATCH] bugfix as_json changed to as_dict --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 9a842407..411d9c77 100644 --- a/app.py +++ b/app.py @@ -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()})