This repository provides a news summarizer assistant using openai model - gpt-3.5-turbo-0125
powered by Gradio. Follow the instructions below to set up and run the application.
- User selects News Category, Date, Character Limit & Output tone.
- News Summarizer takes in the selected News Article from the
news
directory ( in production) - Using OpenAI's Chat-completion Api, News Article is sent as a context along with output description as a context.
- News Summary is displayed in Front-End using Gradio.
- Python 3.7 or higher
- virtualenv
- git
- OpenAI API key
git clone https://github.com/jivaniyash/news-summarizer
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
At first run, it will take time to load the files properly.
gradio ./app.py