fakenews
所属分类:其他
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2022-12-08 01:21:35
上 传 者:
sh-1993
说明: 假新闻,,
(fakenews,,)
文件列表:
fake.news.detector.py (1906, 2019-09-12)
requirements.txt (9442, 2019-09-12)
# Fake News Detector
## Installation
Install the requierements included in `requirements.txt`:
```
pip install -r requirements.txt
```
## Setting Fakebox Service
In order to Analyze news content and detect Fake News making use of Fakebox, first create an account on [MachineBox](https://machinebox.io/)
1. Make sure you have Docker running with at least 2 CPUs and 4GB RAM
2. Get your `MB_KEY` as an environment variable.
For help on setting your key, read the [documentation.](https://machinebox.io/docs/setup/box-key).
## Usage
1. Run this code in your terminal to start the box:
```
$MB_KEY=MB_KEY
docker run -p 8080:8080 -e "MB_KEY=$MB_KEY" machinebox/fakebox
```
2. Run `fake.news.detector.py` followed by the url of the news to analyze:
```
python fake.news.detector.py "https://www.sample-url.com"
```
## Acknowdledgements
Following Third-Party repositories were used:
1. [Machine Box - Machine Learning in a box](https://github.com/machinebox)
2. [Fake News Detector](https://github.com/fake-news-detector)
## License
Do What The F*ck You Want To Public License
近期下载者:
相关文件:
收藏者: