mr4 commited on
Commit
c4aa48d
·
verified ·
1 Parent(s): e3ac56a

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -576,7 +576,7 @@
576
  * @returns {Promise<Array<{id: string, name: string, modelPath: string, classesPath: string}>>}
577
  */
578
  async function loadRegistry() {
579
- const response = await fetch('https://huggingface.co/spaces/mr4/yolo-webgpu/raw/main/models/registry.json');
580
  if (!response.ok) throw new Error(`Không thể tải registry: ${response.status}`);
581
  const data = await response.json();
582
  return data.models;
 
576
  * @returns {Promise<Array<{id: string, name: string, modelPath: string, classesPath: string}>>}
577
  */
578
  async function loadRegistry() {
579
+ const response = await fetch('models/registry.json');
580
  if (!response.ok) throw new Error(`Không thể tải registry: ${response.status}`);
581
  const data = await response.json();
582
  return data.models;