Update README.md
Browse files
README.md
CHANGED
@@ -19,7 +19,7 @@ from transformers import ViTImageProcessor, ViTForImageClassification
|
|
19 |
import torch
|
20 |
from PIL import Image
|
21 |
|
22 |
-
model_name_or_path = "vit-anime-
|
23 |
processor = ViTImageProcessor.from_pretrained(model_name_or_path)
|
24 |
model = ViTForImageClassification.from_pretrained(model_name_or_path)
|
25 |
threshold = 0.3
|
|
|
19 |
import torch
|
20 |
from PIL import Image
|
21 |
|
22 |
+
model_name_or_path = "Ojimi/vit-anime-caption"
|
23 |
processor = ViTImageProcessor.from_pretrained(model_name_or_path)
|
24 |
model = ViTForImageClassification.from_pretrained(model_name_or_path)
|
25 |
threshold = 0.3
|