Spaces:
Runtime error
Runtime error
Commit
·
9c2c31c
1
Parent(s):
b21075f
working on text splitting
Browse files
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 |
-
|
124 |
-
|
|
|
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 |
|