File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
advanced_functionality/r_bring_your_own Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 227227 " \n " ,
228228 " \n " ,
229229 " #' Ping to show server is there\n " ,
230- " #' @post /ping\n " ,
230+ " #' @get /ping\n " ,
231231 " function() {\n " ,
232- " list(status='200', code='200 ')}\n " ,
232+ " return(' ')}\n " ,
233233 " \n " ,
234234 " \n " ,
235235 " #' Parse input and return the prediction from the model\n " ,
268268 " ```Dockerfile\n " ,
269269 " FROM ubuntu:16.04\n " ,
270270 " \n " ,
271- " MAINTAINER David Arpin <arpin @amazon.com>\n " ,
271+ " MAINTAINER Amazon SageMaker Examples <amazon-sagemaker-examples @amazon.com>\n " ,
272272 " \n " ,
273273 " RUN apt-get -y update && apt-get install -y --no-install-recommends \\\n " ,
274274 " wget \\\n " ,
597597 "source" : [
598598 " iris = pd.read_csv('iris.csv')\n " ,
599599 " \n " ,
600- " runtime = boto3.Session().client('sagemaker- runtime')\n " ,
600+ " runtime = boto3.Session().client('runtime.sagemaker ')\n " ,
601601 " \n " ,
602602 " payload = iris.drop(['Sepal.Length'], axis=1).to_csv(index=False)\n " ,
603603 " response = runtime.invoke_endpoint(EndpointName=r_endpoint,\n " ,
You can’t perform that action at this time.
0 commit comments