fahrnphi commited on
Commit
0d643b6
·
verified ·
1 Parent(s): 6b31f2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,7 +5,9 @@ from tensorflow.keras.preprocessing import image
5
  import cv2
6
 
7
  # Load the saved model
8
- model = tf.keras.models.load_model("/mnt/data/fahrnphi_exam_project.keras")
 
 
9
 
10
  # Set image dimensions
11
  img_height, img_width = 150, 150 # Input size for the model
 
5
  import cv2
6
 
7
  # Load the saved model
8
+ model_path = "fahrnphi_exam_project.keras"
9
+ model = tf.keras.models.load_model(model_path)
10
+
11
 
12
  # Set image dimensions
13
  img_height, img_width = 150, 150 # Input size for the model