Timothy-Vinzent commited on
Commit
ebb0c31
·
verified ·
1 Parent(s): 47934fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -40,6 +40,8 @@ def get_evaluation_questions():
40
  print(f"Error parsing solutions: {str(e)}")
41
  return []
42
  if len(questions_list) != len(expected_list):
 
 
43
  print("Mismatch in length: questions list and expected answers list must have the same length.")
44
  return []
45
  return [{"question": q, "expected": e} for q, e in zip(questions_list, expected_list)]
 
40
  print(f"Error parsing solutions: {str(e)}")
41
  return []
42
  if len(questions_list) != len(expected_list):
43
+ print("length of question list", len(questions_list))
44
+ print("length of solution list", len(expected_list))
45
  print("Mismatch in length: questions list and expected answers list must have the same length.")
46
  return []
47
  return [{"question": q, "expected": e} for q, e in zip(questions_list, expected_list)]