jafdxc commited on
Commit
4feac89
·
1 Parent(s): 3a6d71b

Update app.py

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