flaviagiammarino commited on
Commit
3c50594
1 Parent(s): 11b333d

Update scripts/flax_example.py

Browse files
Files changed (1) hide show
  1. scripts/flax_example.py +1 -1
scripts/flax_example.py CHANGED
@@ -8,7 +8,7 @@ from transformers import CLIPProcessor, FlaxCLIPModel
8
  model = FlaxCLIPModel.from_pretrained("flaviagiammarino/pubmed-clip-vit-base-patch32")
9
  processor = CLIPProcessor.from_pretrained("flaviagiammarino/pubmed-clip-vit-base-patch32")
10
 
11
- url = "https://d168r5mdg5gtkq.cloudfront.net/medpix/img/full/synpic9078.jpg"
12
  image = Image.open(requests.get(url, stream=True).raw)
13
  text = ["Chest X-Ray", "Brain MRI", "Abdominal CT Scan"]
14
 
 
8
  model = FlaxCLIPModel.from_pretrained("flaviagiammarino/pubmed-clip-vit-base-patch32")
9
  processor = CLIPProcessor.from_pretrained("flaviagiammarino/pubmed-clip-vit-base-patch32")
10
 
11
+ url = "https://huggingface.co/flaviagiammarino/pubmed-clip-vit-base-patch32/resolve/main/scripts/input.jpeg"
12
  image = Image.open(requests.get(url, stream=True).raw)
13
  text = ["Chest X-Ray", "Brain MRI", "Abdominal CT Scan"]
14