Lauraayu commited on
Commit
8f09ced
·
verified ·
1 Parent(s): 5942de7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def summarize(text, max_length=150):
26
  # Perform summarization and classification when the user clicks the "Classify" button
27
  if st.button("Classify"):
28
  # Perform text summarization
29
- with st.spinner("Generating summary..."):
30
  summary = summarize(article)
31
 
32
  # Tokenize the summarized text
 
26
  # Perform summarization and classification when the user clicks the "Classify" button
27
  if st.button("Classify"):
28
  # Perform text summarization
29
+ with st.spinner("Generating category..."):
30
  summary = summarize(article)
31
 
32
  # Tokenize the summarized text