From 5f6d0457557b0330566b7c9ebe95d97ab439933f Mon Sep 17 00:00:00 2001 From: Kai Labusch Date: Fri, 29 Nov 2019 10:14:11 +0100 Subject: [PATCH] update documentation --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65ce8be..f691f0d 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,13 @@ Set USE_CUDA=False, if you do not have a GPU available/installed. For production purposes rather use ``` -gunicorn --bind 0.0.0.0:5000 qurator.sbb_ner.webapp.wsgi:app +env USE_CUDA=True/False gunicorn --bind 0.0.0.0:5000 qurator.sbb_ner.webapp.wsgi:app +``` + +If you want to use a different model configuration file: + +``` +env USE_CUDA=True/False env CONFIG=`realpath ./my-config.json` gunicorn --bind 0.0.0.0:5000 qurator.sbb_ner.webapp.wsgi:app ``` # Docker