Kavindu99 commited on
Commit
d7de6c9
·
1 Parent(s): c1d35be

Updates to app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import gradio as gr
4
 
5
  dataset = datasets.load_dataset("beans")
6
 
7
- extractor = AutoFeatureExtractor.from_pretrained("Kavindu99/leaf-classifier")
8
- model = AutoModelForImageClassification.from_pretrained("Kavindu99/leaf-classifier")
9
 
10
  labels = dataset['train'].features['labels'].names
11
 
 
4
 
5
  dataset = datasets.load_dataset("beans")
6
 
7
+ extractor = AutoFeatureExtractor.from_pretrained("saved_model_files")
8
+ model = AutoModelForImageClassification.from_pretrained("saved_model_files")
9
 
10
  labels = dataset['train'].features['labels'].names
11