Skip to content

Commit 9f18f9e

Browse files
author
David Eigen
committed
rename function
1 parent 91f5aca commit 9f18f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clarifai/runners/utils/video_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from clarifai.runners.utils import stream_utils
1010

1111

12-
def stream_video_from_url(url, download_ok=True):
12+
def stream_frames_from_url(url, download_ok=True):
1313
"""
1414
Streams a video at the specified resolution using PyAV.
1515
@@ -46,7 +46,7 @@ def download_file(url, file_name):
4646
f.write(chunk)
4747

4848

49-
def stream_video_from_bytes(bytes_iterator):
49+
def stream_frames_from_bytes(bytes_iterator):
5050
"""
5151
Streams a video from a sequence of chunked byte strings of a streamable video
5252
container format.

0 commit comments

Comments
 (0)