This is a simple python-based REST API to facilitate using state-of-the-art NLP models in WebAnno.
Coming soon...
Assuming that your in the root folder of this repository
pip install -r requirements.txt
DATA_ROOT=/your/custom/data/path uvicorn main:app --host 0.0.0.0 --port 8081
Make sure to set the correct environment variables in the .env file!
docker-compose up -d
Docker images will be pulled from docker-hub if not available on the system. To manually and locally build the image run:
docker build -t p0w3r/codebook_automation_api:latest .
docker build -t p0w3r/codebook_automation_app:latest ./cba_webapp/
Assuming that
PYTHONPATH=${PWD} DATA_ROOT=/tmp pytest
Content type
Image
Digest
Size
1.1 GB
Last updated
over 5 years ago
docker pull p0w3r/codebook_automation_api