Spaces:
Runtime error
Runtime error
Commit
·
49c4209
1
Parent(s):
349dc93
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
import datasets
|
| 2 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
| 3 |
|
|
|
|
|
|
|
| 4 |
dataset = datasets.load_dataset("beans")
|
| 5 |
|
| 6 |
extractor = AutoFeatureExtractor.from_pretrained("capofwesh20/bean_leaf_classifier")
|
|
|
|
| 1 |
import datasets
|
| 2 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
| 3 |
|
| 4 |
+
|
| 5 |
+
feature_extractor = AutoFeatureExtractor.from_pretrained("google/vit-base-patch16-224")
|
| 6 |
dataset = datasets.load_dataset("beans")
|
| 7 |
|
| 8 |
extractor = AutoFeatureExtractor.from_pretrained("capofwesh20/bean_leaf_classifier")
|