Download inference.py from Vilas97Gupta/wellness-model: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/Vilas97Gupta/wellness-model/resolve/main/inference.py
- Command line
-
hf download hf://Vilas97Gupta/wellness-model/inference.py
-
curl -L -o inference.py https://huggingface.co/Vilas97Gupta/wellness-model/resolve/main/inference.py
111 Bytes
| import joblib, pandas as pd | |
| model = joblib.load('best_model.joblib') | |
| def predict(df): return model.predict(df) | |