Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def evolve_emotions():
|
|
147 |
|
148 |
best_individual = tools.selBest(population, k=1)[0]
|
149 |
emotion_values = best_individual[:len(emotions)]
|
150 |
-
|
151 |
|
152 |
for i, (emotion, data) in enumerate(emotions.items()):
|
153 |
data['percentage'] = emotion_values[i]
|
|
|
147 |
|
148 |
best_individual = tools.selBest(population, k=1)[0]
|
149 |
emotion_values = best_individual[:len(emotions)]
|
150 |
+
intensities = best_individual[len(emotions):]
|
151 |
|
152 |
for i, (emotion, data) in enumerate(emotions.items()):
|
153 |
data['percentage'] = emotion_values[i]
|