Neurolingua commited on
Commit
29d5011
1 Parent(s): 1c973b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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+)/(\d+)', llm_response)
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