tommasobaldi commited on
Commit
9dec26b
·
1 Parent(s): 9054145

working on text splitting

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -125,8 +125,7 @@ def main() -> None:
125
  with st.spinner("Summarizing in progress..."):
126
  sentences = split_sentences_by_token_length(nltk.sent_tokenize(target_text_input), 600)
127
  for sentence in sentences:
128
- st.markdown(sentence)
129
- st.markdown("####")
130
  #output = pipe(sentence)
131
  #st.markdown(output["summary_text"])
132
 
 
125
  with st.spinner("Summarizing in progress..."):
126
  sentences = split_sentences_by_token_length(nltk.sent_tokenize(target_text_input), 600)
127
  for sentence in sentences:
128
+ display_summary(pipe(sentence))
 
129
  #output = pipe(sentence)
130
  #st.markdown(output["summary_text"])
131