FredZhang7
commited on
Commit
·
312519c
1
Parent(s):
6fcab6a
Update README.md
Browse files
README.md
CHANGED
@@ -22,7 +22,7 @@ pip install --upgrade transformers torchvision
|
|
22 |
from transformers import AutoModelForImageClassification
|
23 |
from torch import cuda
|
24 |
|
25 |
-
model = AutoModelForImageClassification.from_pretrained("FredZhang7/google-safesearch-mini", trust_remote_code=True, revision="
|
26 |
|
27 |
PATH_TO_IMAGE = 'https://images.unsplash.com/photo-1594568284297-7c64464062b1'
|
28 |
PRINT_TENSOR = False
|
|
|
22 |
from transformers import AutoModelForImageClassification
|
23 |
from torch import cuda
|
24 |
|
25 |
+
model = AutoModelForImageClassification.from_pretrained("FredZhang7/google-safesearch-mini", trust_remote_code=True, revision="6fcab6a27595a5f008625ec88c77c10739f3c219")
|
26 |
|
27 |
PATH_TO_IMAGE = 'https://images.unsplash.com/photo-1594568284297-7c64464062b1'
|
28 |
PRINT_TENSOR = False
|