|
--- |
|
tags: |
|
- image-classification |
|
- tensorflow |
|
pipeline_tag: image-classification |
|
widget: |
|
- src: https://huggingface.co/username/model_repo/resolve/main/sample_image.jpg |
|
example_title: "Sample Image Classification" |
|
output: |
|
- label: "apple" |
|
score: 0.95 |
|
--- |
|
|
|
# Model Name |
|
|
|
This model classifies images of various vegetables and fruits. |
|
|
|
## Model Description |
|
|
|
This model was trained using TensorFlow to classify images into categories such as `apple`, `banana`, `beetroot`, etc. |
|
|
|
## How to Use |
|
|
|
You can use this model in your code like this: |
|
|
|
```python |
|
from transformers import pipeline |
|
classifier = pipeline("image-classification", model="Veggies_model") |
|
|
|
image = "path_to_your_image.jpg" |
|
result = classifier(image) |
|
print(result) |
|
|