Spaces:
Runtime error
Runtime error
Update app.py
Browse files14 unmodified lines15161718192021222314 unmodified linesdef get_deepface(image):df = DeepFace.find(img_path=image, db_path=db_path)d = DeepFace.analyze(img_path=image)new_list = zip(d.keys(), d.values())new_list = list(new_list)return new_listdescription = "Deepface is a lightweight face recognition and facial attribute analysis (age, gender, emotion and race) framework for python. It is a hybrid face recognition framework wrapping state-of-the-art models: VGG-Face, Google FaceNet, OpenFace, Facebook DeepFace, DeepID, ArcFace and Dlib."14 unmodified lines15161718192021222314 unmodified linesdef get_deepface(image):df = DeepFace.find(img_path=image, db_path=db_path)d = DeepFace.analyze(img_path=image)#new_list = zip(d.keys(), d.values())#new_list = list(new_list)return ddescription = "Deepface is a lightweight face recognition and facial attribute analysis (age, gender, emotion and race) framework for python. It is a hybrid face recognition framework wrapping state-of-the-art models: VGG-Face, Google FaceNet, OpenFace, Facebook DeepFace, DeepID, ArcFace and Dlib."
app.py+3-3