Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def emotionAnalysis(message, face):
|
|
53 |
|
54 |
face_timestamp = datetime.now().astimezone().strftime(localFormat)
|
55 |
|
56 |
-
if
|
57 |
face_emotion = "Unreadable"
|
58 |
|
59 |
face_dataDict["Time"].append(face_timestamp)
|
|
|
53 |
|
54 |
face_timestamp = datetime.now().astimezone().strftime(localFormat)
|
55 |
|
56 |
+
if face is None:
|
57 |
face_emotion = "Unreadable"
|
58 |
|
59 |
face_dataDict["Time"].append(face_timestamp)
|