Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 425 Bytes

SCORE-LOCAL.md

File metadata and controls

23 lines (17 loc) · 425 Bytes

score-local

You can create your own model server locally. After running the steps in TRAIN-LOCAL, do the following.

Serve the model locally

gunicorn \
    --access-logfile=- \
    --error-logfile=- \
    serve:app

test making some predictions

python scripts/create_random_tickets.py 20 > preds.json

curl -X POST \
    -d @preds.json \
    http://localhost:8000/api/predict