forked from Karylab-cklius/vllm
Update vllm/entrypoints/chat_utils.py
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Signed-off-by: wangln19 <96399074+wangln19@users.noreply.github.com>
This commit is contained in:
@@ -753,7 +753,7 @@ def build_video_prompts_from_mm_data(
|
||||
video_prompts_dict[video_idx].append(prompt)
|
||||
elif hasattr(item, "type") and getattr(item, "type", None) == "video_chunk":
|
||||
video_idx = getattr(item, "video_idx", 0)
|
||||
prompt = getattr(item, "prompt", None) or ""
|
||||
prompt = getattr(item, "prompt", "")
|
||||
video_prompts_dict[video_idx].append(prompt)
|
||||
|
||||
# Build prompts in video order
|
||||
|
||||
Reference in New Issue
Block a user