Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -167,12 +167,12 @@ def paraphrase_and_correct(text):
|
|
| 167 |
paraphrased_text = ensure_subject_verb_agreement(paraphrased_text)
|
| 168 |
|
| 169 |
# Fix punctuation spacing and possessives
|
| 170 |
-
paraphrased_text = fix_punctuation_spacing(paraphrased_text)
|
| 171 |
paraphrased_text = fix_possessives(paraphrased_text)
|
| 172 |
|
| 173 |
# Correct spelling errors
|
| 174 |
paraphrased_text = correct_spelling(paraphrased_text)
|
| 175 |
-
|
|
|
|
| 176 |
return paraphrased_text
|
| 177 |
|
| 178 |
# Gradio app setup
|
|
|
|
| 167 |
paraphrased_text = ensure_subject_verb_agreement(paraphrased_text)
|
| 168 |
|
| 169 |
# Fix punctuation spacing and possessives
|
|
|
|
| 170 |
paraphrased_text = fix_possessives(paraphrased_text)
|
| 171 |
|
| 172 |
# Correct spelling errors
|
| 173 |
paraphrased_text = correct_spelling(paraphrased_text)
|
| 174 |
+
paraphrased_text = fix_punctuation_spacing(paraphrased_text)
|
| 175 |
+
|
| 176 |
return paraphrased_text
|
| 177 |
|
| 178 |
# Gradio app setup
|