tommasobaldi commited on
Commit
9c2c31c
·
1 Parent(s): b21075f

working on text splitting

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -120,8 +120,9 @@ def main() -> None:
120
  with st.spinner("Summarizing in progress..."):
121
  sentences = split_text(target_text_input)
122
  for sentence in sentences:
123
- st.markdown(sentence)
124
- # output = pipe(sentence)
 
125
 
126
 
127
 
 
120
  with st.spinner("Summarizing in progress..."):
121
  sentences = split_text(target_text_input)
122
  for sentence in sentences:
123
+ output = pipe(sentence)
124
+ st.markdown(output["summary_text"])
125
+
126
 
127
 
128