github-actions[bot] commited on
Commit
d85f622
·
1 Parent(s): e7040fc

Deploy from GitHub - 2026-01-21 11:25:50

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1524,7 +1524,7 @@ def stylize_image_impl(
1524
  | **Style** | {style_display} |
1525
  | **Backend** | {backend_display} |
1526
  | **Time** | {elapsed_ms:.1f} ms ({fps:.0f} FPS) |
1527
- | **Avg Time** | {stats.avg_ms:.1f if stats else elapsed_ms:.1f} ms |
1528
  | **Total Images** | {stats.total_inferences if stats else 1} |
1529
  | **Size** | {width}x{height} |
1530
  | **Device** | {get_device().type.upper()} |
 
1524
  | **Style** | {style_display} |
1525
  | **Backend** | {backend_display} |
1526
  | **Time** | {elapsed_ms:.1f} ms ({fps:.0f} FPS) |
1527
+ | **Avg Time** | {(stats.avg_ms if stats else elapsed_ms):.1f} ms |
1528
  | **Total Images** | {stats.total_inferences if stats else 1} |
1529
  | **Size** | {width}x{height} |
1530
  | **Device** | {get_device().type.upper()} |