jafdxc commited on
Commit
60aff9e
1 Parent(s): a07db6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import AutoFeatureExtractor, AutoModelForImageClassification
4
 
5
  # This should be the same as the first line of Python code in this Colab notebook
6
  dataset = load_dataset('beans')
7
- extractor = AutoFeatureExtractor.from_pretrained("saved_model_files")
8
  model = AutoModelForImageClassification.from_pretrained("saved_model_files")
9
 
10
  labels = dataset['train'].features['labels'].names
4
 
5
  # This should be the same as the first line of Python code in this Colab notebook
6
  dataset = load_dataset('beans')
7
+ feature_extractor = AutoFeatureExtractor.from_pretrained("saved_model_files")
8
  model = AutoModelForImageClassification.from_pretrained("saved_model_files")
9
 
10
  labels = dataset['train'].features['labels'].names