Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
11a5f81
1
Parent(s):
0adb69d
main.py
CHANGED
@@ -216,6 +216,7 @@ async def websocket_endpoint(websocket: WebSocket):
|
|
216 |
|
217 |
# Print global FPS measurement
|
218 |
print(f" Global FPS: {global_fps:.2f} (total: {frame_count} frames in {total_elapsed:.2f}s)")
|
|
|
219 |
|
220 |
img = Image.fromarray(sample_img)
|
221 |
buffered = io.BytesIO()
|
|
|
216 |
|
217 |
# Print global FPS measurement
|
218 |
print(f" Global FPS: {global_fps:.2f} (total: {frame_count} frames in {total_elapsed:.2f}s)")
|
219 |
+
time.sleep(1)
|
220 |
|
221 |
img = Image.fromarray(sample_img)
|
222 |
buffered = io.BytesIO()
|