Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
35 |
-
|
36 |
-
|
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 |
|