Spaces:
Sleeping
Sleeping
Update test.py
Browse files
test.py
CHANGED
@@ -64,7 +64,7 @@ def extract_keywords(text, top_n=15):
|
|
64 |
|
65 |
def parse_mcq_questions(mcq_list):
|
66 |
# Split the string into individual questions
|
67 |
-
questions = re.split(r'\d+\.\s+', mcq_list)[1:] #
|
68 |
parsed_questions = []
|
69 |
|
70 |
for q in questions:
|
|
|
64 |
|
65 |
def parse_mcq_questions(mcq_list):
|
66 |
# Split the string into individual questions
|
67 |
+
questions = re.split(r'\d+\.\s+', mcq_list)[1:] # Skip the empty first element
|
68 |
parsed_questions = []
|
69 |
|
70 |
for q in questions:
|