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

feat: fix prediction key typo

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def predict_hate_speech(audio_path):
80
 
81
  if len(profanityFound) > 0:
82
  return {
83
- 'prediciton' : 'hate',
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,