Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -692,11 +692,11 @@ def process_image(focal_image, same_brand_files, competitive_brand_files):
|
|
| 692 |
emotion_results = analyze_face_features(focal_image)
|
| 693 |
emo_angray = emotion_results["angry"]
|
| 694 |
emo_disgust = emotion_results["disgust"]
|
| 695 |
-
emo_fear =
|
| 696 |
-
emo_happy =
|
| 697 |
-
emo_sad =
|
| 698 |
-
emo_surprise =
|
| 699 |
-
emo_neutral =
|
| 700 |
|
| 701 |
|
| 702 |
# Return all outputs
|
|
|
|
| 692 |
emotion_results = analyze_face_features(focal_image)
|
| 693 |
emo_angray = emotion_results["angry"]
|
| 694 |
emo_disgust = emotion_results["disgust"]
|
| 695 |
+
emo_fear = emotion_results["fear"]
|
| 696 |
+
emo_happy = emotion_results["happy"]
|
| 697 |
+
emo_sad = emotion_results["sad"]
|
| 698 |
+
emo_surprise = emotion_results["surprise"]
|
| 699 |
+
emo_neutral = emotion_results["neutral"]
|
| 700 |
|
| 701 |
|
| 702 |
# Return all outputs
|