Yang Gu commited on
Commit
4535423
1 Parent(s): b8e7170

Fix url for hf

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -31,7 +31,7 @@
31
  for (let demo of demos) {
32
  row = table.insertRow(-1);
33
  let td = row.insertCell(-1);
34
- let href = demo[1];
35
  if (window.location.origin.includes("hf")) {
36
  href = `/${href}`;
37
  }
 
31
  for (let demo of demos) {
32
  row = table.insertRow(-1);
33
  let td = row.insertCell(-1);
34
+ let href = `${demo[1]}/index.html`;
35
  if (window.location.origin.includes("hf")) {
36
  href = `/${href}`;
37
  }