Update Zero-Shot Image Classification
Browse files
Zero-Shot Image Classification
CHANGED
@@ -11,7 +11,7 @@ model = AutoModelForZeroShotImageClassification.from_pretrained(checkpoint)
|
|
11 |
processor = AutoProcessor.from_pretrained(checkpoint)
|
12 |
|
13 |
# Load and display the image
|
14 |
-
url = "
|
15 |
image = Image.open(requests.get(url, stream=True).raw)
|
16 |
plt.imshow(image)
|
17 |
plt.show()
|
|
|
11 |
processor = AutoProcessor.from_pretrained(checkpoint)
|
12 |
|
13 |
# Load and display the image
|
14 |
+
url = "https://cdn.akamai.steamstatic.com/steam/apps/1026420/header.jpg?t=1657716289"
|
15 |
image = Image.open(requests.get(url, stream=True).raw)
|
16 |
plt.imshow(image)
|
17 |
plt.show()
|