Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ if st.button("Search"):
|
|
| 68 |
reddit_data = search_reddit(keywords, subreddit=subreddit if subreddit else None)
|
| 69 |
|
| 70 |
progress.progress(80, text="Analyzing sentiment...")
|
| 71 |
-
sentiment_results = analyze_sentiment(
|
| 72 |
|
| 73 |
# --- Display results ---
|
| 74 |
st.success(f"Found {len(reddit_data)} Reddit posts. Sentiment analysis complete.")
|
|
|
|
| 68 |
reddit_data = search_reddit(keywords, subreddit=subreddit if subreddit else None)
|
| 69 |
|
| 70 |
progress.progress(80, text="Analyzing sentiment...")
|
| 71 |
+
sentiment_results = analyze_sentiment(reddit_data)
|
| 72 |
|
| 73 |
# --- Display results ---
|
| 74 |
st.success(f"Found {len(reddit_data)} Reddit posts. Sentiment analysis complete.")
|