Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -446,8 +446,6 @@ def analyze_single_message(text, thresholds):
|
|
446 |
label for label, score in zip(LABELS, scores)
|
447 |
if score > adjusted_thresholds[label]
|
448 |
]
|
449 |
-
tone_tag = get_emotional_tone_tag(emotion_profile, sentiment, threshold_labels, 0)
|
450 |
-
|
451 |
|
452 |
top_patterns = sorted(
|
453 |
[(label, score) for label, score in zip(LABELS, scores)],
|
|
|
446 |
label for label, score in zip(LABELS, scores)
|
447 |
if score > adjusted_thresholds[label]
|
448 |
]
|
|
|
|
|
449 |
|
450 |
top_patterns = sorted(
|
451 |
[(label, score) for label, score in zip(LABELS, scores)],
|