Commit
·
7bb3a23
1
Parent(s):
925b744
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,6 +16,14 @@ co2_eq_emissions:
|
|
| 16 |
emissions: 179.11544810549532
|
| 17 |
---
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
# Model Trained Using AutoTrain
|
| 20 |
|
| 21 |
- Problem type: Multi-class Classification
|
|
|
|
| 16 |
emissions: 179.11544810549532
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# Usage
|
| 20 |
+
|
| 21 |
+
```
|
| 22 |
+
from transformers import pipeline
|
| 23 |
+
p = pipeline("image-classification", model="juliensimon/autotrain-food101-1471154053")
|
| 24 |
+
result = p("my_image.jpg")
|
| 25 |
+
```
|
| 26 |
+
|
| 27 |
# Model Trained Using AutoTrain
|
| 28 |
|
| 29 |
- Problem type: Multi-class Classification
|