View source: R/plumber_entrypoint.R
run_api | R Documentation |
Run the Sagemaker multi-model API
run_api(.host = "0.0.0.0", .port = 8080, ...)
.host |
IP of the host, Default: 0.0.0.0 |
.port |
Which port to use for the API, Default: 8000 |
... |
Options passed to |
A running Plumber API
## Not run: run_api() run_api(.host = "127.0.0.1", port = 4242) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.