Prageeth-1 commited on
Commit
7b7efa6
·
verified ·
1 Parent(s): d5f2cc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -339,7 +339,7 @@ with tab3:
339
  # Sentiment Analysis
340
  st.subheader("News Tone Detector")
341
  sentiment_text = st.text_area("Enter text for news content analysis:", height=100)
342
- if st.button("Analyze Sentiment"):
343
  with st.spinner("Analyzing sentiment..."):
344
  #load the model
345
  sentiment_pipeline = pipeline("sentiment-analysis")
 
339
  # Sentiment Analysis
340
  st.subheader("News Tone Detector")
341
  sentiment_text = st.text_area("Enter text for news content analysis:", height=100)
342
+ if st.button("Analyze Tone"):
343
  with st.spinner("Analyzing sentiment..."):
344
  #load the model
345
  sentiment_pipeline = pipeline("sentiment-analysis")