bep40 commited on
Commit
7d78d7a
·
verified ·
1 Parent(s): 0c5a71f

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. src/app.js +2 -2
src/app.js CHANGED
@@ -1852,8 +1852,8 @@ function saveThumbs(map) { localStorage.setItem(THUMB_KEY, JSON.stringify(map));
1852
  function serverThumbUrl(name) {
1853
  if (!name) return "";
1854
  // Don't add timestamp for server-stored thumbnails (they are immutable)
1855
- // Use Space repo (dataset repo has Xet issues)
1856
- return `https://huggingface.co/spaces/bep40/gemma-multi-avatar/resolve/main/public/avatars/${name}.thumb.png`;
1857
  }
1858
  // Show the avatar's representative image: prefer the server-stored thumbnail
1859
  // (persisted on Space), fall back to freshly-captured local copy, then
 
1852
  function serverThumbUrl(name) {
1853
  if (!name) return "";
1854
  // Don't add timestamp for server-stored thumbnails (they are immutable)
1855
+ // Use dataset repo (no Space rebuild on upload)
1856
+ return `https://huggingface.co/datasets/bep40/gemma-avatar-thumbnails/resolve/main/public/avatars/${name}.thumb.png`;
1857
  }
1858
  // Show the avatar's representative image: prefer the server-stored thumbnail
1859
  // (persisted on Space), fall back to freshly-captured local copy, then