Blanca commited on
Commit
d725222
·
verified ·
1 Parent(s): 1d73000

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -153,6 +153,7 @@ def add_new_eval(
153
  with open(f"scored/{organisation}_{model}.jsonl", "w") as scored_file:
154
  with open(file_path, 'r') as f:
155
  for ix, line in enumerate(f):
 
156
  #try:
157
  # task = json.loads(line)
158
  #except Exception:
 
153
  with open(f"scored/{organisation}_{model}.jsonl", "w") as scored_file:
154
  with open(file_path, 'r') as f:
155
  for ix, line in enumerate(f):
156
+ return format_error(line)
157
  #try:
158
  # task = json.loads(line)
159
  #except Exception: