Fancy-MLLM commited on
Commit
de3f7c6
·
verified ·
1 Parent(s): 0a9ce57

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -39,6 +39,7 @@ You can load the model using the Hugging Face `transformers` library:
39
  ```python
40
  from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
41
  import torch
 
42
 
43
  MODEL_ID = "Fancy-MLLM/R1-Onevision-7B"
44
  processor = AutoProcessor.from_pretrained(MODEL_ID, trust_remote_code=True)
 
39
  ```python
40
  from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
41
  import torch
42
+ from qwen_vl_utils import process_vision_info
43
 
44
  MODEL_ID = "Fancy-MLLM/R1-Onevision-7B"
45
  processor = AutoProcessor.from_pretrained(MODEL_ID, trust_remote_code=True)