Spaces:
Runtime error
Runtime error
Terry Zhuo commited on
Commit ·
c9c684c
1
Parent(s): 7f77e31
update
Browse files151 unmodified lines152153154155156157158159157160161162163164165151 unmodified lines extra = 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 = None
for 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() yield log, gr.update(value=result_path, label=result_path), gr.update() else: yield log, gr.update(), gr.update() is_running = False result_file = find_result_file() if result_file:app.py+6-1