Queue-Tip commited on
Commit
ff070ed
·
verified ·
1 Parent(s): b4bc4d5

Update Simple Image Classification

Browse files
Files changed (1) hide show
  1. Simple Image Classification +1 -1
Simple Image Classification CHANGED
@@ -10,7 +10,7 @@ feature_extractor = ViTFeatureExtractor.from_pretrained('google/vit-base-patch16
10
  model = ViTForImageClassification.from_pretrained('google/vit-base-patch16-224')
11
 
12
  # Load and display the image
13
- url = "URL_of_the_image"
14
  image = Image.open(requests.get(url, stream=True).raw)
15
  plt.imshow(image)
16
  plt.show()
 
10
  model = ViTForImageClassification.from_pretrained('google/vit-base-patch16-224')
11
 
12
  # Load and display the image
13
+ url = "https://cdn.akamai.steamstatic.com/steam/apps/821880/header.jpg?t=1652241767"
14
  image = Image.open(requests.get(url, stream=True).raw)
15
  plt.imshow(image)
16
  plt.show()