From ee34586e77f8ea6501897a3c0341ce10e3d6ef77 Mon Sep 17 00:00:00 2001 From: Manmohan Sharma Date: Mon, 23 Mar 2026 11:54:07 -0400 Subject: [PATCH] redesign UI: artisan landing page + warm chat theme + ONNX export script Landing page with desi street-food aesthetic: lemon-mirchi toran with pendulum animation, dual-script hero (Devanagari + English cursive), samosa illustration with floating animation, brass chai kettle with steam wisps, ambient chilli/lemon doodles. Chat page carries the warm samosa-chaat palette with cream/gold user bubbles, steam-wisp typing indicator, and WebGPU integration hooks (window.samosaChaat API for local inference mode switching). Added scripts/export_onnx.py for ONNX model export with KV cache support, targeting WebGPU browser inference. Credit to Andrej Karpathy's nanochat in footer. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitignore | 1 + nanochat/ui.html | 1391 +++++++++++++++++++++++++++++----------- scripts/export_onnx.py | 469 ++++++++++++++ 3 files changed, 1502 insertions(+), 359 deletions(-) create mode 100644 scripts/export_onnx.py diff --git a/.gitignore b/.gitignore index 3e928240..ad7db224 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ eval_bundle/ # Local setup CLAUDE.md wandb/ +onnx_export/ diff --git a/nanochat/ui.html b/nanochat/ui.html index d5c2f9aa..74ee4f50 100644 --- a/nanochat/ui.html +++ b/nanochat/ui.html @@ -3,82 +3,380 @@ - samosaChaat + समोसा आचाट — samosaChaat + -
-
+ + + + +
+ + + + + +
+

समोसा आचाट

+

Samosa Aachaat

+
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Explore +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Chai +
+
+ + +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ + + +
+ + + + + + + +
-
+