gaurovgiri / NLPNews

Summarize and Categorize News using Natural Language Processing(NLP) using nlpcloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NLP News :

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.

SETUP:

  • git clone https://github.com/gaurovgiri/NLPNews
  • cd NLPNews
  • pip install -r requirements.txt
  • Rename .env.example to .env
  • Put your API-TOKEN generated from NLP Cloud in .env

How to run:

python run.py api for api
python run.py gui for gui

API:

  • uvicorn api.main:app --reload
  • Open 127.0.0.1:8000/docs in browser to check for the api documentation.

GUI:

  • python3 -m gui

About

Summarize and Categorize News using Natural Language Processing(NLP) using nlpcloud


Languages

Language:Python 100.0%