Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 475 Bytes

README.md

File metadata and controls

30 lines (16 loc) · 475 Bytes

API

API for mnist-wasm

Design

The API is intentionally very simple

Routes

GET /

Just a hello world

GET /refresh

Clears and refreshes with weights with the mnist dataset

GET /weights

Just responds with the weights that are stored locally

POST /weights

Updates the weights when someones decides to upload them

Build Instructions

  • create .env (cp env.sample .env)
  • cargo run