Update README.md
Browse files
README.md
CHANGED
@@ -60,6 +60,7 @@ conversation = [
|
|
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 |
|
|
|
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 |
+
# image = image.resize((1024, 1024)) # like this
|
64 |
|
65 |
text_prompt = processor.apply_chat_template(conversation, add_generation_prompt=True)
|
66 |
|