Skip to content

Commit

Permalink
Add missing quotes in modeling_llava_next_video.py (huggingface#33214)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendenize authored and itazap committed Sep 20, 2024
1 parent dde7f26 commit 1900d40
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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: <video>\nWhy is this video funny? ASSISTANT:"
Expand Down

0 comments on commit 1900d40

Please sign in to comment.