update file
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
|
|
|
|
1 |
import datasets
|
2 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
3 |
|
|
|
4 |
dataset = datasets.load_dataset('beans')
|
5 |
|
6 |
extractor = AutoFeatureExtractor.from_pretrained("saved_model_files")
|
|
|
1 |
+
import numpy as np
|
2 |
+
import torch
|
3 |
import datasets
|
4 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
5 |
|
6 |
+
|
7 |
dataset = datasets.load_dataset('beans')
|
8 |
|
9 |
extractor = AutoFeatureExtractor.from_pretrained("saved_model_files")
|