youngtsai commited on
Commit
07ae1f3
·
1 Parent(s): 2c1b15d

question_message = ""

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -2341,6 +2341,9 @@ def check_questions_answers(user_message, questions_answers_json):
2341
  qa_data = json.loads(questions_answers_json)
2342
  else:
2343
  qa_data = questions_answers_json
 
 
 
2344
  for qa in qa_data:
2345
  if user_message == qa["question"] and qa["answer"]:
2346
  is_questions_answers_exists = True
 
2341
  qa_data = json.loads(questions_answers_json)
2342
  else:
2343
  qa_data = questions_answers_json
2344
+
2345
+ question_message = ""
2346
+ answer_message = ""
2347
  for qa in qa_data:
2348
  if user_message == qa["question"] and qa["answer"]:
2349
  is_questions_answers_exists = True