atticus commited on
Commit
362a148
1 Parent(s): f733bb1
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -93,6 +93,8 @@ def search(mode, text):
93
  return res
94
 
95
  if __name__ == "__main__":
 
 
96
  # print("Loading model from:", model_path)
97
  checkpoint = torch.load(model_path, map_location=lambda storage, loc: storage)
98
 
 
93
  return res
94
 
95
  if __name__ == "__main__":
96
+ import nltk
97
+ nltk.download('punkt')
98
  # print("Loading model from:", model_path)
99
  checkpoint = torch.load(model_path, map_location=lambda storage, loc: storage)
100