Update README.md
Browse files
README.md
CHANGED
@@ -68,8 +68,8 @@ from PIL import Image
|
|
68 |
import torch
|
69 |
|
70 |
# Load the model and processor
|
71 |
-
model = ViTForImageClassification.from_pretrained("Deep-Fake-Detector-Model")
|
72 |
-
processor = ViTImageProcessor.from_pretrained("Deep-Fake-Detector-Model")
|
73 |
|
74 |
# Load and preprocess the image
|
75 |
image = Image.open("path_to_image.jpg").convert("RGB")
|
|
|
68 |
import torch
|
69 |
|
70 |
# Load the model and processor
|
71 |
+
model = ViTForImageClassification.from_pretrained("prithivMLmods/Deep-Fake-Detector-Model")
|
72 |
+
processor = ViTImageProcessor.from_pretrained("prithivMLmods/Deep-Fake-Detector-Model")
|
73 |
|
74 |
# Load and preprocess the image
|
75 |
image = Image.open("path_to_image.jpg").convert("RGB")
|