SamanthaStorm commited on
Commit
bea1709
·
verified ·
1 Parent(s): 4eeeb7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -234,7 +234,8 @@ def get_emotional_tone_tag(emotions, sentiment, patterns, abuse_score):
234
  ):
235
  return "aggressive"
236
  if (
237
- deflection > 0.1 or projection > 0.1) and (0.2 < anger <0.7 or 0.2< disgust < 0.7)
 
238
  ):
239
  return "deflective"
240
 
 
234
  ):
235
  return "aggressive"
236
  if (
237
+ (deflection > 0.1 or projection > 0.1) and
238
+ (0.2 < anger <0.7 or 0.2< disgust < 0.7)
239
  ):
240
  return "deflective"
241