This is a Potassium HTTP server, created with banana init
CLI
Start a local dev server with:
banana dev
Test inference by hitting the local dev server with:
curl -X POST -H "Content-Type: application/json" -d '{"prompt": "Write a python function that determines if a given number is prime or not"}' http://localhost:8000/
- Create empty repo on Github
- Push this repo to github
git remote add origin https://github.com/{username}/{repo-name}.git
- Log into Banana
- Select this repo to build and deploy!