Update public/index.html
Browse files- public/index.html +6 -6
public/index.html
CHANGED
|
@@ -205,17 +205,17 @@ python3 client.py
|
|
| 205 |
} catch { document.getElementById('live').textContent = 'Unknown'; }
|
| 206 |
})();
|
| 207 |
|
| 208 |
-
// Download links
|
| 209 |
const dlZip = document.getElementById('dlZip');
|
| 210 |
const dlPy = document.getElementById('dlPy');
|
| 211 |
const dlKey = document.getElementById('dlKey');
|
| 212 |
const brws = document.getElementById('browseClient');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
|
| 214 |
-
// Prefer /client.zip if you publish one; otherwise links still help users browse /client/
|
| 215 |
-
dlZip.href = BASE + '/client.zip';
|
| 216 |
-
dlPy.href = BASE + '/client/client.py';
|
| 217 |
-
dlKey.href = BASE + '/client/key.json';
|
| 218 |
-
brws.href = BASE + '/client/';
|
| 219 |
|
| 220 |
// Fill BASE in code blocks
|
| 221 |
function fill(id, tpl){
|
|
|
|
| 205 |
} catch { document.getElementById('live').textContent = 'Unknown'; }
|
| 206 |
})();
|
| 207 |
|
| 208 |
+
// Download links (fixed to Hugging Face repo paths)
|
| 209 |
const dlZip = document.getElementById('dlZip');
|
| 210 |
const dlPy = document.getElementById('dlPy');
|
| 211 |
const dlKey = document.getElementById('dlKey');
|
| 212 |
const brws = document.getElementById('browseClient');
|
| 213 |
+
|
| 214 |
+
dlZip.href = "https://huggingface.co/spaces/tandevllc/axis/tree/main/client/";
|
| 215 |
+
dlPy.href = "https://huggingface.co/spaces/tandevllc/axis/tree/main/client/client.py";
|
| 216 |
+
dlKey.href = "https://huggingface.co/spaces/tandevllc/axis/tree/main/client/key.json";
|
| 217 |
+
brws.href = "https://huggingface.co/spaces/tandevllc/axis/tree/main/client/";
|
| 218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
|
| 220 |
// Fill BASE in code blocks
|
| 221 |
function fill(id, tpl){
|