Update README.md
Browse files
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)
|