Update README.md
Browse files
README.md
CHANGED
@@ -25,9 +25,13 @@ This model classifies an image into a fashion collection. It is trained on the [
|
|
25 |
```python
|
26 |
from transformers import pipeline
|
27 |
|
|
|
28 |
pipe = pipeline("image-classification", model="tonyassi/vogue-fashion-collection-15")
|
|
|
|
|
29 |
result = pipe('image.png')
|
30 |
|
|
|
31 |
print(result)
|
32 |
```
|
33 |
## Examples
|
|
|
25 |
```python
|
26 |
from transformers import pipeline
|
27 |
|
28 |
+
# Initialize image classification pipeline
|
29 |
pipe = pipeline("image-classification", model="tonyassi/vogue-fashion-collection-15")
|
30 |
+
|
31 |
+
# Perform classification
|
32 |
result = pipe('image.png')
|
33 |
|
34 |
+
# Print results
|
35 |
print(result)
|
36 |
```
|
37 |
## Examples
|