Skip to content

Commit 95523c9

Browse files
committed
Lint
1 parent dbbf62e commit 95523c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/file_like.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def bench(f, average_over=20, warmup=2):
4848
med = times.median().item()
4949
print(f"{med = :.2f}ms +- {std:.2f}")
5050

51+
5152
# %%
5253
# Performance: downloading first versus streaming
5354
# -----------------------------------------------
@@ -95,6 +96,7 @@ def bench(f, average_over=20, warmup=2):
9596
# require downloading the entire video even if we only want to decode the first
9697
# frame. See :ref:`sphx_glr_generated_examples_approximate_mode.py` for more.
9798

99+
98100
def decode_from_existing_download():
99101
decoder = VideoDecoder(
100102
source=pre_downloaded_raw_video_bytes,
@@ -146,6 +148,7 @@ def direct_url_to_ffmpeg():
146148

147149
import fsspec
148150

151+
149152
def stream_while_decode():
150153
# The `client_kwargs` are passed down to the aiohttp module's client
151154
# session; we need to indicate that we need to trust the environment

0 commit comments

Comments
 (0)