[Docs] Update README and default pipelines (#28864)

* Update README and docs

* Update README

* Update README
This commit is contained in:
NielsRogge
2024-02-12 10:21:36 +01:00
committed by GitHub
parent f278ef20ed
commit ef5ab72f4b
4 changed files with 13 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ for zero-shot object detection from a [checkpoint on the Hugging Face Hub](https
```python
>>> from transformers import pipeline
>>> checkpoint = "google/owlvit-base-patch32"
>>> checkpoint = "google/owlv2-base-patch16-ensemble"
>>> detector = pipeline(model=checkpoint, task="zero-shot-object-detection")
```