Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1131342

Browse files
removed minor errors
1 parent e45f37a commit 1131342

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

‎app.py‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@
3030
with col1:
3131
text = st.text_area(label="Enter Your Text or story", height=350, placeholder="Enter Your Text or story or your article iit can be of any length")
3232

33-
if st.button("Get Summary and Headline"):
34-
summary = get_summary(text)
35-
33+
if st.button("Get Summary and Headline"):
34+
summary = get_summary(text)
35+
36+
try:
3637
with col2:
37-
try:
38-
st.write("Text Summary (Summary length: {})".format(len(summary)))
39-
st.code(summary)
40-
st.write("Text Headline")
41-
st.code(len(text))
42-
43-
with col1:
44-
rend = spacy_rander(summary)
45-
except NameError:
46-
pass
38+
st.write("Text Summary (Summary length: {})".format(len(summary)))
39+
st.code(summary)
40+
st.write("Text Headline")
41+
st.code(len(text))
42+
43+
rend = spacy_rander(summary)
44+
45+
except NameError:
46+
pass

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /