Update app.py
Browse files
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",
|
| 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 |
|