Update README.md
Browse files
README.md
CHANGED
@@ -3,7 +3,6 @@ tags:
|
|
3 |
- autotrain
|
4 |
- vision
|
5 |
- image-classification
|
6 |
-
|
7 |
inference:
|
8 |
parameters:
|
9 |
max_length: 250
|
@@ -20,4 +19,13 @@ widget:
|
|
20 |
language:
|
21 |
- en
|
22 |
- zh
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
- autotrain
|
4 |
- vision
|
5 |
- image-classification
|
|
|
6 |
inference:
|
7 |
parameters:
|
8 |
max_length: 250
|
|
|
19 |
language:
|
20 |
- en
|
21 |
- zh
|
22 |
+
pipeline_tag: text-classification
|
23 |
+
---
|
24 |
+
|
25 |
+
# Usage
|
26 |
+
|
27 |
+
```
|
28 |
+
from transformers import pipeline
|
29 |
+
p = pipeline("image-classification", model="juliensimon/autotrain-food101-1471154053")
|
30 |
+
result = p("my_image.jpg")
|
31 |
+
```
|