tommasobaldi commited on
Commit
73567e4
·
1 Parent(s): 11d6205

working on text splitting

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def main() -> None:
98
  )
99
  for sentence in sentences:
100
  token_list = [token for token in nltk.word_tokenize(sentence)]
101
- st.text(sentence + " " + len(token_list))
102
  output = pipe(sentence)
103
  summary = output[0]["summary_text"]
104
  for line in summary.split("."):
 
98
  )
99
  for sentence in sentences:
100
  token_list = [token for token in nltk.word_tokenize(sentence)]
101
+ st.text(sentence + " " + str(len(token_list)))
102
  output = pipe(sentence)
103
  summary = output[0]["summary_text"]
104
  for line in summary.split("."):