Spaces:
Sleeping
Sleeping
Use answers id
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def question_interface(question_state, answer):
|
|
24 |
# Check if all questions have been answered
|
25 |
if current_question_index == len(test):
|
26 |
# Show all responses
|
27 |
-
|
28 |
return response_text
|
29 |
|
30 |
# Display the current question
|
|
|
24 |
# Check if all questions have been answered
|
25 |
if current_question_index == len(test):
|
26 |
# Show all responses
|
27 |
+
answer_ids = test.convert_to_answer_ids(question_state["responses"])
|
28 |
return response_text
|
29 |
|
30 |
# Display the current question
|