Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
from datasets import load_dataset
|
| 2 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
|
|
|
| 3 |
|
| 4 |
# This should be the same as the first line of Python code in this Colab notebook
|
| 5 |
dataset = load_dataset('beans')
|
|
|
|
| 1 |
from datasets import load_dataset
|
| 2 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
| 3 |
+
import torch
|
| 4 |
|
| 5 |
# This should be the same as the first line of Python code in this Colab notebook
|
| 6 |
dataset = load_dataset('beans')
|