Queue-Tip commited on
Commit
59076f4
·
verified ·
1 Parent(s): 30a8590

Update Zero-Shot Image Classification

Browse files
Files changed (1) hide show
  1. Zero-Shot Image Classification +1 -1
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 = "URL_of_the_image"
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()