geolocal commited on
Commit
fef7c20
1 Parent(s): f18ea8c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -84,10 +84,10 @@ import requests
84
 
85
  from transformers import CLIPProcessor, CLIPModel
86
 
87
- model = CLIPModel.from_pretrained("geolocational/StreetCLIP")
88
- processor = CLIPProcessor.from_pretrained("geolocational/StreetCLIP")
89
 
90
- url = "https://huggingface.co/geolocational/StreetCLIP/resolve/main/sanfrancisco.jpeg"
91
  image = Image.open(requests.get(url, stream=True).raw)
92
 
93
  choices = ["San Jose", "San Diego", "Los Angeles", "Las Vegas", "San Francisco"]
 
84
 
85
  from transformers import CLIPProcessor, CLIPModel
86
 
87
+ model = CLIPModel.from_pretrained("geolocal/StreetCLIP")
88
+ processor = CLIPProcessor.from_pretrained("geolocal/StreetCLIP")
89
 
90
+ url = "https://huggingface.co/geolocal/StreetCLIP/resolve/main/sanfrancisco.jpeg"
91
  image = Image.open(requests.get(url, stream=True).raw)
92
 
93
  choices = ["San Jose", "San Diego", "Los Angeles", "Las Vegas", "San Francisco"]