codewithdark commited on
Commit
bfa790c
·
verified ·
1 Parent(s): 94d22eb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -59,8 +59,8 @@ import torch
59
  from PIL import Image
60
 
61
  # Load model and feature extractor
62
- model = ViTForImageClassification.from_pretrained('codewithdark/chest-xray-classifier')
63
- feature_extractor = ViTFeatureExtractor.from_pretrained('codewithdark/chest-xray-classifier')
64
 
65
  # Prepare an image for prediction
66
  image = Image.open('path_to_chest_xray_image.jpg')
 
59
  from PIL import Image
60
 
61
  # Load model and feature extractor
62
+ model = ViTForImageClassification.from_pretrained('codewithdark/vit-chest-xray')
63
+ feature_extractor = ViTFeatureExtractor.from_pretrained('codewithdark/vit-chest-xray')
64
 
65
  # Prepare an image for prediction
66
  image = Image.open('path_to_chest_xray_image.jpg')