siddhantuniyal commited on
Commit
0536f13
·
verified ·
1 Parent(s): 8e042d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def predict_hate_speech(audio_path):
84
  'language' : 'Hindi',
85
  'label' : 'Profanity found',
86
  'confidence' : None,
87
- 'hate_text' : profanityFound
88
  }
89
 
90
  if isHate:
 
84
  'language' : 'Hindi',
85
  'label' : 'Profanity found',
86
  'confidence' : None,
87
+ 'hate_text' : ",".join(profanityFound)
88
  }
89
 
90
  if isHate: