Skip to content

Commit df87150

Browse files
committed
pylint
1 parent 71ba0b8 commit df87150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MaxText/multimodal/qwen3_omni_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def floor_by_factor(number: int, factor: int) -> int:
273273
max_logging.log(f"smart_nframes: nframes[{nframes}] > total_frames[{total_frames}]")
274274
nframes = min(max(nframes, min_frames), max_frames, total_frames)
275275
nframes = floor_by_factor(nframes, FRAME_FACTOR)
276-
if not (FRAME_FACTOR <= nframes <= total_frames):
276+
if not FRAME_FACTOR <= nframes <= total_frames:
277277
raise ValueError(f"nframes should in interval [{FRAME_FACTOR}, {total_frames}], but got {nframes}.")
278278
return nframes
279279

0 commit comments

Comments
 (0)