lossLopes commited on
Commit
94c02b8
1 Parent(s): cb2a723

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import nltk
2
  import streamlit as st
3
 
 
 
4
  def fragment_text(text, tokenizer):
5
 
6
  sentences = nltk.tokenize.sent_tokenize(text)
 
1
  import nltk
2
  import streamlit as st
3
 
4
+ nltk.download('punkt')
5
+
6
  def fragment_text(text, tokenizer):
7
 
8
  sentences = nltk.tokenize.sent_tokenize(text)