Small API to analyse text and retrieve people's information.
- Python 3.6
- (Optional) Docker
- Clone this repo :
git clone https://github.com/AxelDelsol/Sherlock.git
- Move inside the repo :
cd Sherlock
- Install the dependencies :
pip install -r requirements.txt
- Set up the following environement variables:
export TEXTRAZOR_API_KEY="your_key"
export FLASK_APP="sherlock"
flask run
- Clone this repo :
git clone https://github.com/AxelDelsol/Sherlock.git
- Move inside the repo :
cd Sherlock
- Install the dependencies :
py -m pip install -r requirements.txt
- Set up the following environment variables:
$env:TEXTRAZOR_API_KEY="your_key"
$env:FLASK_APP="sherlock"
flask run
- Clone this repo :
git clone https://github.com/AxelDelsol/Sherlock.git
- Move inside the repo :
cd Sherlock
docker build --build-arg TextRazorKey="your_key" -t sherlock-demo .
docker run -p 5000:5000 sherlock-demo
- Visit http://localhost:5000/ and have fun !