SamanthaStorm commited on
Commit
90d7e35
·
verified ·
1 Parent(s): 8cbdd57

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -351,7 +351,7 @@ def analyze_single_message(text, thresholds):
351
  scores[label] > THRESHOLDS[label]
352
  for label in ["control", "threat", "blame shifting"]
353
  ):
354
- sentiment = "undermining"
355
  else:
356
  sentiment = "undermining" if sentiment_score > 0.25 else "supportive"
357
 
 
351
  scores[label] > THRESHOLDS[label]
352
  for label in ["control", "threat", "blame shifting"]
353
  ):
354
+ sentiment = "undermining"
355
  else:
356
  sentiment = "undermining" if sentiment_score > 0.25 else "supportive"
357