RJ3vans commited on
Commit
166949e
·
verified ·
1 Parent(s): 3be238e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1889,8 +1889,8 @@ def fix_subject_verb_agreement(sent: str) -> str:
1889
  if not sent or not sent.strip():
1890
  return sent
1891
 
1892
- if re.search(r"\bdo(?:es|ing)?\s+so\b", sentence, flags=re.I):
1893
- return sentence
1894
 
1895
  sent = sent.strip()
1896
  doc = nlp(sent)
 
1889
  if not sent or not sent.strip():
1890
  return sent
1891
 
1892
+ if re.search(r"\bdo(?:es|ing)?\s+so\b", sent, flags=re.I):
1893
+ return sent
1894
 
1895
  sent = sent.strip()
1896
  doc = nlp(sent)