style: apply ruff formatting

This commit is contained in:
Test User 2026-02-19 03:40:12 +00:00
parent cf5c58e69c
commit 29fbb23f8e

View File

@ -142,9 +142,7 @@ if __name__ == "__main__":
assert args.video_path, "Video path must be provided for encoding."
encoded_output = encode_video(args.model_path, args.video_path, dtype, device)
torch.save(encoded_output, args.output_path + "/encoded.pt")
print(
f"Finished encoding the video to a tensor, saved to {args.output_path}/encoded.pt"
)
print(f"Finished encoding the video to a tensor, saved to {args.output_path}/encoded.pt")
elif args.mode == "decode":
assert args.encoded_path, "Encoded tensor path must be provided for decoding."
decoded_output = decode_video(args.model_path, args.encoded_path, dtype, device)