Spaces:
Sleeping
Sleeping
siddhantuniyal
commited on
Update app.py
Browse files
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:
|