From c8d5c02bae82e506f6bb507c9ed07aeba3a1bb87 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 22 Mar 2026 13:25:20 +0100 Subject: fix(cnn_v3/tools): fix getElementById illegal invocation + auto-preload weights MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Bind document.getElementById in filmParams() to fix 'Illegal invocation' error - Add preload() that auto-fetches cnn_v3_weights.bin + cnn_v3_film_mlp.bin from workspaces/main/weights/ on init; skips silently if files not found - Add '↺ Reload from workspace weights/' button for manual re-fetch handoff(Gemini): cnn_v3 web tool fixed; serve from repo root via http.server --- cnn_v3/tools/index.html | 1 + 1 file changed, 1 insertion(+) (limited to 'cnn_v3/tools/index.html') diff --git a/cnn_v3/tools/index.html b/cnn_v3/tools/index.html index eba532e..8494fef 100644 --- a/cnn_v3/tools/index.html +++ b/cnn_v3/tools/index.html @@ -67,6 +67,7 @@ video{display:none}
Drop cnn_v3_weights.bin
Drop cnn_v3_film_mlp.bin (optional)
+
Input Mode
-- cgit v1.2.3