Spaces:
Sleeping
Sleeping
Download test_api.R from aephiday/blood_transfusion: direct link, hf CLI and curl.
- Browser
- Download file 178 Bytes
-
https://huggingface.co/spaces/aephiday/blood_transfusion/resolve/main/test_api.R
- Command line
-
hf download hf://spaces/aephiday/blood_transfusion/test_api.R
-
curl -L -o test_api.R https://huggingface.co/spaces/aephiday/blood_transfusion/resolve/main/test_api.R
178 Bytes
| library(vetiver) | |
| library(plumber) | |
| v <- blood_final_wf |> | |
| vetiver_model(model_name = "blood_transfusion") | |
| pr() |> | |
| vetiver_api(vetiver_model = v) |> | |
| pr_run(port = 3838) | |