N3tron commited on
Commit
a84d675
·
verified ·
1 Parent(s): 08f2c4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,8 +92,8 @@ def main():
92
  upload_img = st.file_uploader("Upload Image",type=["png","jpg"])
93
 
94
  if upload_img and upload_names and upload_embeddings:
95
- names = np.load(uploaded_names)
96
- embeddings = np.load(uploaded_embeddings)
97
  im_array = np.frombuffer(upload_img.read(),np.uint8)
98
  img = cv2.imdecode(im_array,cv2.IMREAD_COLOR)
99
  if st.button("Verify Faces"):
 
92
  upload_img = st.file_uploader("Upload Image",type=["png","jpg"])
93
 
94
  if upload_img and upload_names and upload_embeddings:
95
+ names = np.load(upload_names)
96
+ embeddings = np.load(upload_embeddings)
97
  im_array = np.frombuffer(upload_img.read(),np.uint8)
98
  img = cv2.imdecode(im_array,cv2.IMREAD_COLOR)
99
  if st.button("Verify Faces"):