Update README.md
Browse files
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
|
| 63 |
-
feature_extractor = ViTFeatureExtractor.from_pretrained('codewithdark/chest-xray
|
| 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')
|