wjbmattingly commited on
Commit
68252b5
1 Parent(s): e1ce3ad

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -4,6 +4,8 @@ datasets:
4
  base_model:
5
  - Qwen/Qwen2-VL-2B-Instruct
6
  ---
 
 
7
  import torch
8
  from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
9
  from qwen_vl_utils import process_vision_info
@@ -65,4 +67,5 @@ from IPython.display import display, Image
65
  print(output_text)
66
 
67
  # Display the image
68
- display(Image(url=image_url))
 
 
4
  base_model:
5
  - Qwen/Qwen2-VL-2B-Instruct
6
  ---
7
+
8
+ ```python
9
  import torch
10
  from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
11
  from qwen_vl_utils import process_vision_info
 
67
  print(output_text)
68
 
69
  # Display the image
70
+ display(Image(url=image_url))
71
+ ```