andresgtn commited on
Commit
e505593
Β·
1 Parent(s): 52fd486

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ import gradio as gr
5
 
6
  dataset = load_dataset("beans") # This should be the same as the first line of Python code in this Colab notebook
7
 
8
- extractor = AutoFeatureExtractor.from_pretrained("saved_model_files")
9
- model = AutoModelForImageClassification.from_pretrained("saved_model_files")
10
 
11
  # add to cuda?
12
  model.eval()
 
5
 
6
  dataset = load_dataset("beans") # This should be the same as the first line of Python code in this Colab notebook
7
 
8
+ extractor = AutoFeatureExtractor.from_pretrained("andresgtn/vit-base-bean-health-classifier")
9
+ model = AutoModelForImageClassification.from_pretrained("andresgtn/vit-base-bean-health-classifier")
10
 
11
  # add to cuda?
12
  model.eval()