Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
c20bd13
1
Parent(s):
e858976
main.py
CHANGED
@@ -148,7 +148,7 @@ def print_timing_stats(timing_info: Dict[str, float], frame_num: int):
|
|
148 |
print(f"\nFrame {frame_num} timing (seconds):")
|
149 |
for key, value in timing_info.items():
|
150 |
print(f" {key.title()}: {value:.4f}")
|
151 |
-
print(f" FPS: {1.0/timing_info['
|
152 |
|
153 |
# Serve the index.html file at the root URL
|
154 |
@app.get("/")
|
|
|
148 |
print(f"\nFrame {frame_num} timing (seconds):")
|
149 |
for key, value in timing_info.items():
|
150 |
print(f" {key.title()}: {value:.4f}")
|
151 |
+
print(f" FPS: {1.0/timing_info['full_frame']:.2f}")
|
152 |
|
153 |
# Serve the index.html file at the root URL
|
154 |
@app.get("/")
|