A web app that fetches and summarizes the latest posts from any Reddit subreddit using NLP.
- Fetch the latest posts from a subreddit.
- Summarize posts using Hugging Face's
facebook/bart-large-cnn
model. - Clean text by removing URLs and special characters.
- Deployed using Streamlit Sharing.
- Enter a subreddit name (e.g.,
MachineLearning
). - Adjust the slider to choose the number of posts to summarize.
- View the summarized posts.
Click here to try the app!
- Python
- Streamlit
- PRAW (Python Reddit API Wrapper)
- Hugging Face Transformers
- AWS(Sagemaker, S3)
To run the app locally:
-
Clone the repository:
git clone https://github.com/aryanator/Reddit-AnalyXer.git
-
Install dependencies:
pip install -r requirements.txt
-
Run the app:
streamlit run app.py
Contributing Feel free to open issues or submit pull requests for improvements.