Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import transformers
|
|
3 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
4 |
import torch
|
5 |
|
6 |
-
dataset = load_dataset('beans')
|
7 |
|
8 |
extractor = AutoFeatureExtractor.from_pretrained("lucasdmpp/BeanLeaf")
|
9 |
model = AutoModelForImageClassification.from_pretrained("lucasdmpp/BeanLeaf")
|
|
|
3 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
4 |
import torch
|
5 |
|
6 |
+
dataset = datasets.load_dataset('beans')
|
7 |
|
8 |
extractor = AutoFeatureExtractor.from_pretrained("lucasdmpp/BeanLeaf")
|
9 |
model = AutoModelForImageClassification.from_pretrained("lucasdmpp/BeanLeaf")
|