Update README.md
Browse files
README.md
CHANGED
|
@@ -145,7 +145,7 @@ if ckpt_path is not None:
|
|
| 145 |
|
| 146 |
vis_processor = Blip2ImageEvalProcessor()
|
| 147 |
|
| 148 |
-
image_url = "https://huggingface.co/rinna/bilingual-gpt-neox-4b-minigpt4
|
| 149 |
raw_image = Image.open(requests.get(image_url, stream=True).raw).convert('RGB')
|
| 150 |
image = vis_processor(raw_image).unsqueeze(0).to(model.device)
|
| 151 |
image_emb = model.encode_img(image)
|
|
|
|
| 145 |
|
| 146 |
vis_processor = Blip2ImageEvalProcessor()
|
| 147 |
|
| 148 |
+
image_url = "https://huggingface.co/rinna/bilingual-gpt-neox-4b-minigpt4/resolve/main/sample.jpg"
|
| 149 |
raw_image = Image.open(requests.get(image_url, stream=True).raw).convert('RGB')
|
| 150 |
image = vis_processor(raw_image).unsqueeze(0).to(model.device)
|
| 151 |
image_emb = model.encode_img(image)
|