Spaces:
Sleeping
Sleeping
question_message = ""
Browse files
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
|