Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import datasets
|
2 |
-
|
3 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
4 |
dataset = load_dataset("beans")
|
5 |
|
|
|
1 |
import datasets
|
2 |
+
import torch
|
3 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
4 |
dataset = load_dataset("beans")
|
5 |
|