This project scrapes content from fashion, Bollywood, Hollywood, and entertainment websites, and uses a local LLM via Ollama to generate clear, concise, and engaging summaries.
- π Scrapes web content using
requestsandBeautifulSoup - π§Ό Cleans up irrelevant HTML elements like scripts, images, and styles
- π§ Sends cleaned text to a locally running LLM model (via Ollama)
- π Generates summaries in plain text or Markdown format
- π§βπ€ Focused on:
- Fashion trends
- Celebrity style
- TV and movie gossip
- Pop culture updates
| Tool | Purpose |
|---|---|
| π Python | Core programming language |
| π§Ό BeautifulSoup | Web scraping and HTML parsing |
| π§ OpenAI (with Ollama backend) | Language model interaction |
| π» Jupyter Notebook | Interactive development and testing |
| π Ollama | Local LLM hosting (like llama3) |
- Python 3.8+
- Ollama installed & running locally
- Model pulled (e.g.
llama3.2): - ollama run llama3.2
pip install openai requests beautifulsoup4 lxml python-dotenv
### βΆοΈ Run the Notebook
1. Start Ollama in terminal:
```bash
ollama run llama3-
Launch Jupyter Notebook:
jupyter notebook
-
Open the
.ipynbnotebook and run each cell in order.
π https://www.pinkvilla.com
π Summary:
- Kareena Kapoor stuns in a denim jacket at the airport.
- Vogue India highlights trending 90s throwback looks.
- Alia Bhatt attends a wedding in elegant pastels.
π¦ fashion-summarizer/
βββ Untitled.ipynb # Main notebook with scraping + summarization
βββ README.md # Project documentation (this file)
Vanshika Mahajan
Passionate about Generative AI, fashion-tech, and practical NLP apps.
(Add your LinkedIn, GitHub, or portfolio link here if you want)
This project is open source and available under the MIT License.