chawin.chen commited on
Commit
38b0402
·
1 Parent(s): e2a31bb

fix: correct syntax error and indentation in _predict_with_deepface method

Browse files
Files changed (1) hide show
  1. face_analyzer.py +2 -1
face_analyzer.py CHANGED
@@ -798,7 +798,8 @@ class EnhancedFaceAnalyzer:
798
  "age_model_used": "DeepFace",
799
  "gender_model_used": "DeepFace",
800
  "beauty_model_used": "Heuristic",
801
- } except Exception as e:
 
802
  logger.error(f"DeepFace prediction failed: {e}")
803
  raise e
804
 
 
798
  "age_model_used": "DeepFace",
799
  "gender_model_used": "DeepFace",
800
  "beauty_model_used": "Heuristic",
801
+ }
802
+ except Exception as e:
803
  logger.error(f"DeepFace prediction failed: {e}")
804
  raise e
805