project21 commited on
Commit
3dd28eb
·
verified ·
1 Parent(s): fa63298

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from keras.models import load_model
4
  import numpy as np
5
 
6
  # Load the pre-trained model from the local path
7
- model_path = '/content/tomato.h5'
8
  model = load_model(model_path) # Load the model here
9
 
10
  def predict_disease(image_file, model, all_labels):
 
4
  import numpy as np
5
 
6
  # Load the pre-trained model from the local path
7
+ model_path = 'tomato.h5'
8
  model = load_model(model_path) # Load the model here
9
 
10
  def predict_disease(image_file, model, all_labels):