NLP News is a tool for summarizing and categorizing a news. It uses NLPcloud and fastapi. You can check NLP Cloud for more info about them.
git clone https://github.com/gaurovgiri/NLPNewscd NLPNewspip install -r requirements.txt- Rename
.env.exampleto.env - Put your API-TOKEN generated from NLP Cloud in
.env
python run.py api for api
python run.py gui for gui
uvicorn api.main:app --reload- Open
127.0.0.1:8000/docsin browser to check for the api documentation.
python3 -m gui