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