Spaces:
Runtime error
Runtime error
Commit ·
77e64c9
1
Parent(s): 5458724
fixed emotions issues
Browse files
app.py
CHANGED
|
@@ -96,7 +96,7 @@ def analyze_history(history):
|
|
| 96 |
detected_emotion = max(combined_scores, key=combined_scores.get)
|
| 97 |
print(f"Detected emotion: {detected_emotion}")
|
| 98 |
|
| 99 |
-
return
|
| 100 |
|
| 101 |
|
| 102 |
|
|
|
|
| 96 |
detected_emotion = max(combined_scores, key=combined_scores.get)
|
| 97 |
print(f"Detected emotion: {detected_emotion}")
|
| 98 |
|
| 99 |
+
return detected_emotion
|
| 100 |
|
| 101 |
|
| 102 |
|