Skip to content

Commit

Permalink
fix format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Oct 4, 2024
1 parent 71a7bd6 commit 0a087ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1846,9 +1846,7 @@ def save_video(
if not isinstance(frame, np.ndarray) or (
frame.shape[0] == 0 and frame.shape[1] == 0
):
raise ValueError(
"A frame is not a valid NumPy array with shape (H, W, C)"
)
raise ValueError("A frame is not a valid NumPy array with shape (H, W, C)")

if output_video_path is None:
output_video_path = tempfile.NamedTemporaryFile(
Expand Down

0 comments on commit 0a087ce

Please sign in to comment.