NLPNews
所属分类:特征抽取
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-09-09 22:02:53
上 传 者:
sh-1993
说明: 使用自然语言处理(NLP)和nlpcloud对新闻进行摘要和分类,
(Summarize and Categorize News using Natural Language Processing(NLP) using nlpcloud,)
文件列表:
.env.example (11, 2023-10-14)
api/ (0, 2023-10-14)
api/init.py (0, 2023-10-14)
api/main.py (622, 2023-10-14)
api/model.py (964, 2023-10-14)
gui/ (0, 2023-10-14)
gui/__main__.py (235, 2023-10-14)
gui/app.py (2608, 2023-10-14)
gui/init.py (0, 2023-10-14)
news/ (0, 2023-10-14)
news/init.py (0, 2023-10-14)
news/news.py (1682, 2023-10-14)
requirements.txt (401, 2023-10-14)
run.py (1275, 2023-10-14)
test.py (1223, 2023-10-14)
# NLP News :
NLP News is a tool for summarizing and categorizing a news. It uses NLPcloud and fastapi. You can check [NLP Cloud](https://nlpcloud.com) 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](https://nlpcloud.com) 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`
近期下载者:
相关文件:
收藏者: