feat(ui): status page — progress bar, live preview, result cards, polling
This commit is contained in:
1 parent
dca6f6b335
commit
1c54bb1a11
4 files changed
+540
-56
No files matched your search
@@ -164,11 +164,14 @@ def api_job_detail(job_id):
|
||||
"current_model": job.current_model,
|
||||
"results": [
|
||||
{
|
||||
"model": r.model_name,
|
||||
"loading": r.loading_count,
|
||||
"unloading": r.unloading_count,
|
||||
"net": r.net_count,
|
||||
"output": os.path.basename(r.output_path) if r.output_path else None,
|
||||
"model_name": r.model_name,
|
||||
"loading_count": r.loading_count,
|
||||
"unloading_count": r.unloading_count,
|
||||
"net_count": r.net_count,
|
||||
"batch_count": r.batch_count,
|
||||
"frame_count": r.frame_count,
|
||||
"duration_seconds": r.duration_seconds,
|
||||
"output_path": os.path.basename(r.output_path) if r.output_path else None,
|
||||
}
|
||||
for r in job.results
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user