peterciank commited on
Commit
67b3c11
·
verified ·
1 Parent(s): d7a8932

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -88,8 +88,7 @@ def extract_keywords(text):
88
 
89
  text = st.text_area('Enter the text to analyze', jd)
90
 
91
- if text:
92
-
93
  with st.expander("Sentiment Analysis - ✅ Completed", expanded=False):
94
  # Sentiment analysis
95
  out_sentiment = pipe_sent(text)
 
88
 
89
  text = st.text_area('Enter the text to analyze', jd)
90
 
91
+ if st.button("Start Analysis"):
 
92
  with st.expander("Sentiment Analysis - ✅ Completed", expanded=False):
93
  # Sentiment analysis
94
  out_sentiment = pipe_sent(text)