FredZhang7 commited on
Commit
312519c
·
1 Parent(s): 6fcab6a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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="c9c0cc6b7e93796a712317baa7ca70db9e939688")
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