PeterPinetree commited on
Commit
ca170fb
·
verified ·
1 Parent(s): 1e1ea66

Update index.html

Browse files

added core model state

Files changed (1) hide show
  1. index.html +4 -1
index.html CHANGED
@@ -273,7 +273,10 @@
273
  }
274
  return { setSources, load, drawBase, highlight };
275
  })();
276
- // --- Local Qwen tokenizer loader (no Hub, no path rewrite) ---
 
 
 
277
 
278
  async function loadModel(key){
279
  const mySeq = ++loadSeq;
 
273
  }
274
  return { setSources, load, drawBase, highlight };
275
  })();
276
+
277
+ // Core model state (module scope)
278
+ let tokenizer = null, model = null;
279
+ let loadSeq = 0;
280
 
281
  async function loadModel(key){
282
  const mySeq = ++loadSeq;