From 19850069382ee1756e0e5b0e6ec8ee00222cff53 Mon Sep 17 00:00:00 2001 From: yujinni <86652449+yujin37@users.noreply.github.com> Date: Mon, 6 Nov 2023 01:47:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=2054=EB=B2=88=20=EA=B8=80=EC=9E=90=20?= =?UTF-8?q?=EC=88=98=20=EC=B1=84=EC=A0=90=20=EC=A0=90=EC=88=98=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Model/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Model/app.py b/Model/app.py index 91153da..b18795b 100644 --- a/Model/app.py +++ b/Model/app.py @@ -176,6 +176,7 @@ def countCheck(quest_num, answer): else: score = 5 response = {'글자 수 검사' : result, '점수' : score} + print('확인', score) return response #53번 표현 가점, 감점 @@ -344,6 +345,7 @@ def get_score(): #print(question, quest_con, contents) length = countCheck(quest_num, contents) gpt_result = gpt_response(question[0], quest_con[0], contents[0], answer[0], length['글자 수 검사']) + gpt_result['score'] += length['점수'] response = gpt_result return jsonify(response)