lucasdmpp commited on
Commit
d5b1b48
1 Parent(s): b7608d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import transformers
3
  from transformers import AutoFeatureExtractor, AutoModelForImageClassification
4
  import torch
5
 
6
- dataset = load_dataset('beans')
7
 
8
  extractor = AutoFeatureExtractor.from_pretrained("lucasdmpp/BeanLeaf")
9
  model = AutoModelForImageClassification.from_pretrained("lucasdmpp/BeanLeaf")
 
3
  from transformers import AutoFeatureExtractor, AutoModelForImageClassification
4
  import torch
5
 
6
+ dataset = datasets.load_dataset('beans')
7
 
8
  extractor = AutoFeatureExtractor.from_pretrained("lucasdmpp/BeanLeaf")
9
  model = AutoModelForImageClassification.from_pretrained("lucasdmpp/BeanLeaf")