terryyz commited on
Commit
e5e0585
1 Parent(s): 2c9f819

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -564,9 +564,8 @@ with main_block as demo:
564
 
565
  def start_evaluation(command, jsonl_file, subset, split):
566
  lock.acquire()
567
- extra = subset + "_" if subset != "full" else ""
568
  if jsonl_file is not None:
569
- result_path = os.path.basename(jsonl_file.name).replace(".jsonl", f"_{extra}eval_results.json")
570
  else:
571
  result_path = None
572
 
 
564
 
565
  def start_evaluation(command, jsonl_file, subset, split):
566
  lock.acquire()
 
567
  if jsonl_file is not None:
568
+ result_path = os.path.basename(jsonl_file.name).replace(".jsonl", "_eval_results.json")
569
  else:
570
  result_path = None
571