Fake News Detection Web App using Recurrent Neural Networks.
- Clone the repo and change directory:
git clone https://github.com/soumyankar/Sherlock2.0.git
cd Sherlock2.0/
- [IMPORTANT] Initialize a
virtualenv
and activate.
As an additional check make sure that your console reads thevirtualenv
label as Sherlock2.0 after activating.
virtualenv -p python3 ./
source bin/activate
- Install necessary packages for the flask application
pip install -r requirements.txt
- Test run the application!
flask run
Head over to http://127.0.0.1:5000/ on your favourite browser.
-
Fork the repo first.
-
Clone the repo and change directory:
git clone https://github.com/soumyankar/Sherlock2.0.git
cd Sherlock2.0/
- Make changes to the code and submit a PR!
git add -A
git commit -m "Super cool feature added"
git push origin master
Now you can submit a PR!
Remember to change the requirements.txt
file in case you make any changes to the package managers. You can do this by:
pip freeze > requirements.txt
In case you do not have virtualenv
installed have a look down below.
# Debian, Ubuntu
$ sudo apt-get install python-virtualenv
# CentOS, Fedora
$ sudo yum install python-virtualenv
# Arch
$ sudo pacman -S python-virtualenv
$ sudo python2 Downloads/get-pip.py
$ sudo python2 -m pip install virtualenv
> \Python27\python.exe Downloads\get-pip.py
> \Python27\python.exe -m pip install virtualenv
Now you can return to the Installation Notes to continue.