-
Prerequisites: Make sure that you have
Python 3
,virtualenv
, andpip
installed. -
Clone the repository
$ git clone https://github.com/C-Anirudh/Drona.git $ cd Drona
-
Create a python 3 virtualenv inside the
backend
folder, and activate the environment.$ cd backend $ virtualenv -p python3 venv
To activate in Linux:
$ source venv/bin/activate
To activate in Windows:
> venv\Scripts\activate.bat
-
Run the
setup.sh
bash script to install dependecies (will prompt for sudo password in the end to installffmpeg
)$ ./setup.sh
-
Start the Flask server
$ flask run
- Install the project dependencies from
requirements.txt
$ pip install -r requirements.txt
- Install the python
pke
library$ pip install git+https://github.com/boudinfl/pke.git
- Install the spacy
en
model$ python -m spacy download en
- Run
setup.py
to download additional requirements$ python nltk_pack.py
- Install
ffmpeg
- Start the Flask server
$ set FLASK_APP=app.py $ flask run
- Navigate to chrome://extensions
- Toggle the
Developer mode
on the top right corner. - Click on
Load unpacked
on the top left corner and open the/Drona/extension/
folder to load the extension in Chrome.