sparse-state-54304
unionml serve app:app --reload --model-path /tmp/model_object.pt
{"detail": "Method Not Allowed"}
INFO: 127.0.0.1:64825 - "GET /predict HTTP/1.1" 405 Method Not Allowed
tall-lock-23197
import requests from sklearn.datasets import load_digits digits = load_digits(as_frame=True) features = digits.frame[digits.feature_names] prediction_response = <http://requests.post|requests.post>( "<http://127.0.0.1:8000/predict>", json={"features": features.sample(5, random_state=42).to_dict(orient="records")}, ) print(prediction_response.text)
broad-monitor-993
127.0.0.1:<port>/docs
Flyte enables production-grade orchestration for machine learning workflows and data processing created to accelerate local workflows to production.