Commit
·
fb4d29d
1
Parent(s):
b234e15
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,7 +37,7 @@ from transformers import CLIPProcessor, CLIPModel
|
|
| 37 |
model = CLIPModel.from_pretrained("flaviagiammarino/pubmed-clip-vit-base-patch32")
|
| 38 |
processor = CLIPProcessor.from_pretrained("flaviagiammarino/pubmed-clip-vit-base-patch32")
|
| 39 |
|
| 40 |
-
url = "https://
|
| 41 |
image = Image.open(requests.get(url, stream=True).raw)
|
| 42 |
|
| 43 |
inputs = processor(text=["Chest X-Ray", "Brain MRI", "Abdomen CT Scan"], images=image, return_tensors="pt", padding=True)
|
|
|
|
| 37 |
model = CLIPModel.from_pretrained("flaviagiammarino/pubmed-clip-vit-base-patch32")
|
| 38 |
processor = CLIPProcessor.from_pretrained("flaviagiammarino/pubmed-clip-vit-base-patch32")
|
| 39 |
|
| 40 |
+
url = "https://huggingface.co/flaviagiammarino/pubmed-clip-vit-base-patch32/resolve/main/scripts/input.jpeg"
|
| 41 |
image = Image.open(requests.get(url, stream=True).raw)
|
| 42 |
|
| 43 |
inputs = processor(text=["Chest X-Ray", "Brain MRI", "Abdomen CT Scan"], images=image, return_tensors="pt", padding=True)
|