File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ def __init__(
4444 min_pixels : int = 256 * 28 * 28 ,
4545 max_pixels : int = 1605632 ,
4646 max_num_frames : int = 32 ,
47+ fps : Optional [float ] = None ,
4748 system_prompt : Optional [str ] = "You are a helpful assistant." ,
4849 interleave_visuals : Optional [bool ] = False ,
4950 reasoning_prompt : Optional [str ] = None ,
@@ -81,6 +82,7 @@ def __init__(
8182 self .max_pixels = max_pixels
8283 self .min_pixels = min_pixels
8384 self .max_num_frames = max_num_frames
85+ self .fps = fps
8486
8587 if reasoning_prompt :
8688 self .reasoning_prompt = reasoning_prompt .replace ("\\ n" , "\n " )
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ def __init__(
4444 min_pixels : int = 256 * 28 * 28 ,
4545 max_pixels : int = 1605632 ,
4646 max_num_frames : int = 32 ,
47+ fps : Optional [float ] = None ,
4748 system_prompt : Optional [str ] = "You are a helpful assistant." ,
4849 interleave_visuals : Optional [bool ] = False ,
4950 reasoning_prompt : Optional [str ] = None ,
@@ -84,6 +85,7 @@ def __init__(
8485 self .max_pixels = max_pixels
8586 self .min_pixels = min_pixels
8687 self .max_num_frames = max_num_frames
88+ self .fps = fps
8789
8890 if reasoning_prompt :
8991 self .reasoning_prompt = reasoning_prompt .replace ("\\ n" , "\n " )
You can’t perform that action at this time.
0 commit comments