Commit Graph

3 Commits

Author SHA1 Message Date
871147b688 feat: working backend with model + API config UI
- server.py: FastAPI serves model (best_generator.pt) + static files
- /api/generate endpoint with temperature/top_k controls
- /api/health endpoint for status
- Frontend auto-detects backend, shows connection status
- API URL configurable from UI (persisted in localStorage)
- NaN/inf safety in generation
- Clean output (strips BOS/EOS/PAD/UNK tokens)
2026-06-20 00:03:52 +00:00
2c520a96c0 fix: local generation, regenerate button, API via ?api= 2026-06-19 06:28:35 +00:00
43d99a9468 landing page + api server 2026-06-19 06:20:58 +00:00