Spaces:
Runtime error
Runtime error
Download src/pr.R from Myxogastria0808/web-api-template: direct link, hf CLI and curl.
- Browser
- Download file 116 Bytes
-
https://huggingface.co/spaces/Myxogastria0808/web-api-template/resolve/main/src/pr.R
- Command line
-
hf download hf://spaces/Myxogastria0808/web-api-template/src/pr.R
-
curl -L -o pr.R https://huggingface.co/spaces/Myxogastria0808/web-api-template/resolve/main/src/pr.R
116 Bytes
| library(plumber) | |
| path <- paste0(getwd(), "/", "plumber.R") | |
| plumber::plumb(path)$run(host = "0.0.0.0", port = 7860) | |