Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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")
|