From e259d6d1e0d2acfa3c2f84b11c9bfa97e64b984d Mon Sep 17 00:00:00 2001 From: Julien Denize <40604584+juliendenize@users.noreply.github.com> Date: Fri, 30 Aug 2024 15:39:23 +0200 Subject: [PATCH] Add missing quotes in modeling_llava_next_video.py (#33214) --- .../models/llava_next_video/modeling_llava_next_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/models/llava_next_video/modeling_llava_next_video.py b/src/transformers/models/llava_next_video/modeling_llava_next_video.py index 3430fbe590aa1e..4c2fdf914a4bc0 100644 --- a/src/transformers/models/llava_next_video/modeling_llava_next_video.py +++ b/src/transformers/models/llava_next_video/modeling_llava_next_video.py @@ -809,7 +809,7 @@ def forward( ... frames.append(frame) ... return np.stack([x.to_ndarray(format="rgb24") for x in frames]) - >>> model = LlavaNextVideoForConditionalGeneration.from_pretrained("llava-hf/LLaVA-NeXT-Video-7B-hf", device_map="auto) + >>> model = LlavaNextVideoForConditionalGeneration.from_pretrained("llava-hf/LLaVA-NeXT-Video-7B-hf", device_map="auto") >>> processor = AutoProcessor.from_pretrained("llava-hf/LLaVA-NeXT-Video-7B-hf") >>> prompt = "USER: