shivanshg commited on
Commit
97d50e2
·
1 Parent(s): 8b5da99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,10 +8,10 @@ from PIL import Image
8
  #Model processing
9
  from tensorflow.keras.models import load_model
10
 
11
- model = load_model('/content/drive/MyDrive/movies/Mask_Detection_MobileNetV2.h5')
12
 
13
  #Loading the cascade
14
- face_cascade = cv.CascadeClassifier('/content/drive/MyDrive/movies/haarcascade_frontalface_default.xml')
15
 
16
  def predict_image(filename):
17
  #Reading the input image
 
8
  #Model processing
9
  from tensorflow.keras.models import load_model
10
 
11
+ model = load_model('Mask_Detection_MobileNetV2.h5')
12
 
13
  #Loading the cascade
14
+ face_cascade = cv.CascadeClassifier('haarcascade_frontalface_default.xml')
15
 
16
  def predict_image(filename):
17
  #Reading the input image