awacke1 commited on
Commit
f1eb405
·
1 Parent(s): 3b7d574

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -30,10 +30,10 @@ button=st.button('Get Segments')
30
  if (button==True) and input_text != "":
31
  texts = input_text.split('\n')
32
  sents = []
33
- for text in texts:
34
- doc = nlp(text)
35
- for sent in doc.sents:
36
- sents.append(sent)
37
 
38
  topic_pipeline.fit(st.session_state["text"])
39
 
 
30
  if (button==True) and input_text != "":
31
  texts = input_text.split('\n')
32
  sents = []
33
+ #for text in texts:
34
+ # doc = nlp(text)
35
+ # for sent in doc.sents:
36
+ # sents.append(sent)
37
 
38
  topic_pipeline.fit(st.session_state["text"])
39