p-christ commited on
Commit
7738cde
1 Parent(s): 42f401f

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -0
pipeline.py CHANGED
@@ -1,6 +1,7 @@
1
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
2
  from typing import Dict, List, Any
3
  import itertools
 
4
 
5
  class PreTrainedPipeline():
6
  def __init__(self, path=""):
 
1
  from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
2
  from typing import Dict, List, Any
3
  import itertools
4
+ from nltk import sent_tokenize
5
 
6
  class PreTrainedPipeline():
7
  def __init__(self, path=""):