Spaces:
Runtime error
Runtime error
Update used model name
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
|
6 |
dataset = datasets.load_dataset("beans")
|
7 |
labels = dataset["train"].features["labels"].names
|
8 |
|
9 |
-
extractor = AutoFeatureExtractor.from_pretrained("RKoops/
|
10 |
-
model = AutoModelForImageClassification.from_pretrained("RKoops/
|
11 |
|
12 |
|
13 |
def classify(im):
|
|
|
6 |
dataset = datasets.load_dataset("beans")
|
7 |
labels = dataset["train"].features["labels"].names
|
8 |
|
9 |
+
extractor = AutoFeatureExtractor.from_pretrained("RKoops/BeanLeafClassifier")
|
10 |
+
model = AutoModelForImageClassification.from_pretrained("RKoops/BeanLeafClassifier")
|
11 |
|
12 |
|
13 |
def classify(im):
|