[Docs] Update README and default pipelines (#28864)
* Update README and docs * Update README * Update README
This commit is contained in:
@@ -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")
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user