Create app to detect fake news.
https://fake-news-detector-tz.herokuapp.com/
- models/: scikit-learn models trained in analysis.ipynb
- analysis.ipynb: trains model
- app.py: Streamlit app
- requirements.txt: Python library versions needed to run app
https://www.kaggle.com/jruvika/fake-news-detection
This requires using the python Kaggle API to download the dataset. Steps to set up Kaggle API:
pip install kaggle
cd ~/.kaggle
- Go to www.kaggle.com -> Your Account -> Create New API token
mv ~/Downloads/kaggle.json ./
chmod 600 ./kaggle.json
The app uses Streamlit
To run app locally, you should have Streamlit installed.
>> pip install streamlit
Then,
>> streamlit run app.py