Skip to content

Commit e0459a6

Browse files
authored
Update models-widgets-examples.md (#350)
1 parent 135ccee commit e0459a6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/hub/models-widgets-examples.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,15 @@ widget:
268268
src: "https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg"
269269
```
270270
271+
### Zero-Shot Image Classification
272+
273+
```yaml
274+
widget:
275+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/cat-dog-music.png
276+
candidate_labels: playing music, playing sports
277+
example_title: Cat & Dog
278+
```
279+
271280
## Other
272281
273282
### Structured Data Classification

0 commit comments

Comments
 (0)