Diaa-Zaher commited on
Commit
7d706bf
·
1 Parent(s): b9d2488

update application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ def spell_check(original_input_text):
121
  suggestions = get_suggestions(misspelled_words, dict)
122
  Suggested_input = print_suggested_input(suggestions, original_input_text, misspelled_words)
123
  if misspelled_words: # because if the input is right, then dont print Did You Mean
124
- return 'Corrected Text:' + f'"{Suggested_input}"'
125
  else :
126
  return 'No misspelled words detected'
127
 
 
121
  suggestions = get_suggestions(misspelled_words, dict)
122
  Suggested_input = print_suggested_input(suggestions, original_input_text, misspelled_words)
123
  if misspelled_words: # because if the input is right, then dont print Did You Mean
124
+ return 'Corrected Text: ' + f' "{Suggested_input}"'
125
  else :
126
  return 'No misspelled words detected'
127