HashamUllah commited on
Commit
4a5969d
·
verified ·
1 Parent(s): 561253b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,10 +6,10 @@ import io
6
  import json
7
 
8
  # Load the TensorFlow model
9
- model = tf.keras.models.load_model('./plant_disease_detection.h5')
10
 
11
  # Load categories
12
- with open('./categories.json') as f:
13
  categories = json.load(f)
14
 
15
  def preprocess_image(image):
 
6
  import json
7
 
8
  # Load the TensorFlow model
9
+ model = tf.keras.models.load_model('plant_disease_detection.h5')
10
 
11
  # Load categories
12
+ with open('categories.json') as f:
13
  categories = json.load(f)
14
 
15
  def preprocess_image(image):