francis-ogbuagu commited on
Commit
af494a7
·
verified ·
1 Parent(s): 93fde2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from transformers import ViTForImageClassification, AutoImageProcessor
6
 
7
  # Load model & processor
8
 
9
- model_path = "maize_vit_model"
10
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
11
 
12
  model = ViTForImageClassification.from_pretrained(model_path, use_safetensors=True)
 
6
 
7
  # Load model & processor
8
 
9
+ model_path = "model"
10
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
11
 
12
  model = ViTForImageClassification.from_pretrained(model_path, use_safetensors=True)