JaishnaCodz commited on
Commit
5f0de1f
·
verified ·
1 Parent(s): 01e4eed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import re
9
  nltk.download("punkt")
10
 
11
  # Correct way to connect to the locally running LanguageTool server
12
- grammar_tool = language_tool_python.LanguageToolPublicAPI(
13
  language='en-US',
14
  remote_server='http://localhost:8081/v2/'
15
  )
 
9
  nltk.download("punkt")
10
 
11
  # Correct way to connect to the locally running LanguageTool server
12
+ grammar_tool = language_tool_python.LanguageTool(
13
  language='en-US',
14
  remote_server='http://localhost:8081/v2/'
15
  )