Upload folder using huggingface_hub
#2
by
not-lain
- opened
No description provided.
you can use it using the following code :
from transformers import pipeline
pipe = pipeline("image-classification",model="p1atdev/siglip-tagger-test-3",revision="refs/pr/2",trust_remote_code=True)
pipe("download.jpg",
threshold=0.2, #optional parameter defaults to 0
return_scores = False #optional parameter defaults to False
)
after merging you can get rid of the revision
parameter
p1atdev
changed pull request status to
merged