Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,9 @@ from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
|
5 |
|
6 |
dataset = datasets.load_dataset('beans')
|
7 |
|
8 |
-
extractor = AutoFeatureExtractor.from_pretrained("
|
9 |
|
10 |
-
model = AutoModelForImageClassification.from_pretrained("
|
11 |
|
12 |
labels = dataset['train'].features['labels'].names
|
13 |
|
|
|
5 |
|
6 |
dataset = datasets.load_dataset('beans')
|
7 |
|
8 |
+
extractor = AutoFeatureExtractor.from_pretrained("Blaise-MR/diseaseClassifier")
|
9 |
|
10 |
+
model = AutoModelForImageClassification.from_pretrained("Blaise-MR/diseaseClassifier")
|
11 |
|
12 |
labels = dataset['train'].features['labels'].names
|
13 |
|