Ertugrul commited on
Commit
7cca429
1 Parent(s): c7cb96c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -4
README.md CHANGED
@@ -59,6 +59,8 @@ conversation = [
59
 
60
  image = Image.open(r"PATH_TO_YOUR_IMAGE")
61
 
 
 
62
  text_prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)
63
 
64
  inputs = processor(
@@ -82,7 +84,3 @@ print(output_text)
82
  ```
83
 
84
  For more detailed options, refer to the [Qwen2-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct) documentation.
85
-
86
- ### Acknowledgements:
87
-
88
- This work was supported by the Google AI/ML Developer Programs team through the provision of Google Cloud Credits.
 
59
 
60
  image = Image.open(r"PATH_TO_YOUR_IMAGE")
61
 
62
+ # you can resize the image here if it's not fitting to vram, or set model max sizes.
63
+
64
  text_prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)
65
 
66
  inputs = processor(
 
84
  ```
85
 
86
  For more detailed options, refer to the [Qwen2-VL-7B-Instruct](https://huggingface.co/Qwen/Qwen2-VL-7B-Instruct) documentation.