From 563eec66a6bbd714613cdf6b291aa8e378279c37 Mon Sep 17 00:00:00 2001 From: Greg George <4835990+gageorge@users.noreply.github.com> Date: Thu, 1 Aug 2019 16:52:08 -0400 Subject: [PATCH] Fix some doc needed to make this work --- doc/source/python/python_wrapping_docker.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/python/python_wrapping_docker.md b/doc/source/python/python_wrapping_docker.md index d19e13c105..6edf2bdb3b 100644 --- a/doc/source/python/python_wrapping_docker.md +++ b/doc/source/python/python_wrapping_docker.md @@ -64,7 +64,7 @@ RUN pip install -r requirements.txt EXPOSE 5000 # Define environment variable -ENV MODEL_NAME SimpleModel +ENV MODEL_NAME MyModel ENV API_TYPE REST ENV SERVICE_TYPE MODEL ENV PERSISTENCE 0 @@ -202,7 +202,7 @@ There is an [example notebook illustrating a model with custom metrics in python To add custom meta data you can add an optional method ```tags``` which can return a dict of custom meta tags as shown in the example below: ``` -class UserObject(object): +class MyModel(object): def predict(self,X,features_names): return X