nimool commited on
Commit
a6b64e3
·
1 Parent(s): 84aae68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def parse(wav_file):
41
  check_spell = spell_checker.check(sentence)
42
  if check_spell[0] is False:
43
  corrected = check_spell[1]
44
- elif check_spell[0] is True:
45
  corrected = sentence
46
  return corrected
47
 
 
41
  check_spell = spell_checker.check(sentence)
42
  if check_spell[0] is False:
43
  corrected = check_spell[1]
44
+ else:
45
  corrected = sentence
46
  return corrected
47