diff --git a/python/pyfunc-server/examples/echo_http/echo_http.py b/python/pyfunc-server/examples/echo_http/echo_http.py index e0b42f20c..83a455474 100644 --- a/python/pyfunc-server/examples/echo_http/echo_http.py +++ b/python/pyfunc-server/examples/echo_http/echo_http.py @@ -1,7 +1,7 @@ import logging import merlin -from merlin.model import ModelType, PyFuncModel +from merlin.model import PyFuncModel class EchoModel(PyFuncModel): @@ -19,15 +19,3 @@ def infer(self, request): model_instance=EchoModel(), conda_env="env.yaml", ) - - # Or, if you already have logged existing model version on Merlin, - # you can get the latest model version and run it locally: - # merlin.set_url("") - # merlin.set_project("") - # merlin.set_model("", ModelType.PYFUNC) - - # versions = merlin.active_model().list_version() - # versions.sort(key=lambda v: v.id, reverse=True) - - # last_version = versions[0] - # last_version.start_server(debug=True) diff --git a/python/pyfunc-server/examples/iris_http/models/model_2.joblib b/python/pyfunc-server/examples/iris_http/models/model_2.joblib index 0509f7f33..65c3c078c 100644 Binary files a/python/pyfunc-server/examples/iris_http/models/model_2.joblib and b/python/pyfunc-server/examples/iris_http/models/model_2.joblib differ