Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -44,7 +44,7 @@
|
|
| 44 |
backendEl.textContent = device.toUpperCase();
|
| 45 |
envEl.textContent = hasWebGPU ? '✅ WebGPU detected (will fallback if slow)…' : '⚠️ Using WASM (CPU).';
|
| 46 |
|
| 47 |
-
//
|
| 48 |
const _fetch = window.fetch.bind(window);
|
| 49 |
window.fetch = (url, opts) => {
|
| 50 |
try {
|
|
|
|
| 44 |
backendEl.textContent = device.toUpperCase();
|
| 45 |
envEl.textContent = hasWebGPU ? '✅ WebGPU detected (will fallback if slow)…' : '⚠️ Using WASM (CPU).';
|
| 46 |
|
| 47 |
+
// --- SINGLE FIX: force ?download=1 on HF "resolve" URLs to avoid 401s ---
|
| 48 |
const _fetch = window.fetch.bind(window);
|
| 49 |
window.fetch = (url, opts) => {
|
| 50 |
try {
|