wangzhengtao commited on
Commit ·
2e6b74b
1
Parent(s): abb1505
fix
Browse files
kimi_k25_vision_processing.py
CHANGED
|
@@ -58,7 +58,7 @@ class KimiK25VisionProcessor(BaseImageProcessor):
|
|
| 58 |
|
| 59 |
@classmethod
|
| 60 |
def make_chunk_prompt(cls, timestamp_text: str) -> str:
|
| 61 |
-
return f"{timestamp_text}<|
|
| 62 |
|
| 63 |
def split_video_chunks(self,
|
| 64 |
video_url: str | bytes) -> list[list[Image.Image]]:
|
|
|
|
| 58 |
|
| 59 |
@classmethod
|
| 60 |
def make_chunk_prompt(cls, timestamp_text: str) -> str:
|
| 61 |
+
return f"{timestamp_text}<|media_begin|>video<|media_content|><|media_pad|><|media_end|>"
|
| 62 |
|
| 63 |
def split_video_chunks(self,
|
| 64 |
video_url: str | bytes) -> list[list[Image.Image]]:
|