tusharagarwal3 commited on
Commit
c452031
1 Parent(s): b608dfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +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')
6
  feature_extractor = AutoFeatureExtractor.from_pretrained("saved_model_files")
 
1
  from datasets import load_dataset
2
  from transformers import AutoFeatureExtractor, AutoModelForImageClassification
3
+ import torch
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")