nickmuchi commited on
Commit
228b872
1 Parent(s): 90688c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def article_text_extractor(url: str):
72
 
73
  def chunk_clean_text(text):
74
 
75
- sentences = tokenizer(text)
76
  current_chunk = 0
77
  chunks = []
78
 
 
72
 
73
  def chunk_clean_text(text):
74
 
75
+ sentences = sent_tokenize(text)
76
  current_chunk = 0
77
  chunks = []
78