Update 'face_recognition/app/app.py'
This commit is contained in:
		@@ -48,7 +48,7 @@ def new_face():
 | 
			
		||||
    face_encoding_response = encode_face(temporary_img_path)
 | 
			
		||||
    if face_encoding_response['success']==True:
 | 
			
		||||
    	with open(temporary_pkl_path, 'wb') as file:
 | 
			
		||||
        	pickle.dump(face_encoding, file)
 | 
			
		||||
        	pickle.dump(face_encoding_response['encoding'], file)
 | 
			
		||||
    	minioClient.fput_object('users', str(id), temporary_pkl_path)
 | 
			
		||||
    return jsonify({'success':face_encoding_response['success']})
 | 
			
		||||
  
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user