Update README.md
Browse files
README.md
CHANGED
@@ -84,10 +84,10 @@ import requests
|
|
84 |
|
85 |
from transformers import CLIPProcessor, CLIPModel
|
86 |
|
87 |
-
model = CLIPModel.from_pretrained("
|
88 |
-
processor = CLIPProcessor.from_pretrained("
|
89 |
|
90 |
-
url = "https://huggingface.co/
|
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"]
|