From ffa790d36599e2b93a2192c545e789f276a6a42c Mon Sep 17 00:00:00 2001 From: Lorenzo Mondragon Date: Fri, 13 Dec 2024 16:19:48 -0700 Subject: [PATCH] Update video.py (#325) Updated WARNING with correct grammar --- vision_agent/utils/video.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vision_agent/utils/video.py b/vision_agent/utils/video.py index e6a730ca..d234f211 100644 --- a/vision_agent/utils/video.py +++ b/vision_agent/utils/video.py @@ -106,9 +106,9 @@ def frames_to_bytes( return buffer_bytes -# WARNING: this cache is cache is a little dangerous because if the underlying video -# contents change but the filename remains the same it will return the old file contents -# but for vision agent it's unlikely to change the file contents while keeping the +# WARNING: This cache is a little dangerous because if the underlying video +# contents change but the filename remains the same it will return the old file contents. +# For vision agent it's unlikely to change the file contents while keeping the # same file name and the time savings are very large. @lru_cache(maxsize=8) def extract_frames_from_video(