Neurolingua
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -207,7 +207,7 @@ def calculate_score_and_grades():
|
|
207 |
llm_response=eval_str
|
208 |
|
209 |
# Extract all the marks using a regular expression
|
210 |
-
marks = re.findall(r'(\d+)
|
211 |
|
212 |
if not marks:
|
213 |
# Handle the case where no marks are found
|
|
|
207 |
llm_response=eval_str
|
208 |
|
209 |
# Extract all the marks using a regular expression
|
210 |
+
marks = re.findall(r':\s*(\d+)', llm_response)
|
211 |
|
212 |
if not marks:
|
213 |
# Handle the case where no marks are found
|