Spaces:
Sleeping
Sleeping
siddhantuniyal
commited on
feat: fix prediction key typo
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def predict_hate_speech(audio_path):
|
|
80 |
|
81 |
if len(profanityFound) > 0:
|
82 |
return {
|
83 |
-
'
|
84 |
'language' : 'Hindi',
|
85 |
'label' : 'Profanity found',
|
86 |
'confidence' : None,
|
|
|
80 |
|
81 |
if len(profanityFound) > 0:
|
82 |
return {
|
83 |
+
'prediction' : 'hate',
|
84 |
'language' : 'Hindi',
|
85 |
'label' : 'Profanity found',
|
86 |
'confidence' : None,
|