Spaces:
Runtime error
Runtime error
Terry Zhuo commited on
Commit ·
c9c684c
1
Parent(s): 7f77e31
update
Browse files151 unmodified lines152153154155156157158159160151 unmodified linesextra = subset + "_" if subset != "full" else ""if jsonl_file is not None:result_path = os.path.basename(jsonl_file.name).replace(".jsonl", f"_{extra}eval_results.json")for log in stream_logs(command, jsonl_file):yield log, gr.update(value=result_path, label=result_path), gr.update()is_running = Falseresult_file = find_result_file()if result_file:151 unmodified lines152153154155156157158159160161162163164165151 unmodified linesextra = subset + "_" if subset != "full" else ""if jsonl_file is not None:result_path = os.path.basename(jsonl_file.name).replace(".jsonl", f"_{extra}eval_results.json")else:result_path = Nonefor log in stream_logs(command, jsonl_file):if jsonl_file is not None:yield log, gr.update(value=result_path, label=result_path), gr.update()else:yield log, gr.update(), gr.update()is_running = Falseresult_file = find_result_file()if result_file:
app.py+6-1