Rohit001 commited on
Commit
6b9367a
1 Parent(s): 3221a45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ socket = SocketIO(app,async_mode="eventlet")
14
 
15
  # load model and labels
16
  np.set_printoptions(suppress=True)
17
- model = load_model("https://huggingface.co/spaces/Rohit001/flask_face_recognition/raw/main/keras_model.h5", compile=False)
18
- class_names = open("./labels.txt", "r").readlines()
19
 
20
  def base64_to_image(base64_string):
21
  # Extract the base64 encoded binary data from the input string
 
14
 
15
  # load model and labels
16
  np.set_printoptions(suppress=True)
17
+ model = load_model("/keras_model.h5", compile=False)
18
+ class_names = open("/labels.txt", "r").readlines()
19
 
20
  def base64_to_image(base64_string):
21
  # Extract the base64 encoded binary data from the input string