diff --git a/app.py b/app.py index cf2be37c..37edc9ab 100644 --- a/app.py +++ b/app.py @@ -320,7 +320,7 @@ def transform(self, frame: av.VideoFrame) -> np.ndarray: # are not strictly synchronized. while True: if webrtc_ctx.video_transformer: - result = webrtc_ctx.video_transformer.result_queue.get() + result = webrtc_ctx.video_transformer.result_queue.get(timeout=1.0) labels_placeholder.table(result) else: break