Skip to content

Commit

Permalink
fix import error
Browse files Browse the repository at this point in the history
  • Loading branch information
ZX-ModelCloud committed Dec 20, 2024
1 parent eca906b commit 5e649d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/models/test_qwen2_vl.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from qwen_vl_utils import process_vision_info


from model_test import ModelTest

Expand Down Expand Up @@ -33,6 +33,9 @@ def test_qwen2_vl(self):
text = processor.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)

from qwen_vl_utils import process_vision_info

image_inputs, video_inputs = process_vision_info(messages)
inputs = processor(
text=[text],
Expand Down

0 comments on commit 5e649d2

Please sign in to comment.