Install the requierements included in requirements.txt
:
pip install -r requirements.txt
In order to Analyze news content and detect Fake News making use of Fakebox, first create an account on MachineBox
- Make sure you have Docker running with at least 2 CPUs and 4GB RAM
- Get your
MB_KEY
as an environment variable.
For help on setting your key, read the documentation..
- 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
- Run
fake.news.detector.py
followed by the url of the news to analyze:
python fake.news.detector.py "https://www.sample-url.com"
Following Third-Party repositories were used:
Do What The F*ck You Want To Public License