static-variables / index.html
coyotte508's picture
coyotte508 HF staff
Update index.html
2117aea
raw
history blame
788 Bytes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>My static Space</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="card">
<p>Variables are accessible through <i>window.huggingface.variables</i> in JavaScript! Checkout the source code for <i>index.html</i> in the <a href="https://huggingface.co/spaces/coyotte508/static-variables/tree/main">"Files"</a> tab.</p>
<p>
Also don't forget to check the
<a href="https://huggingface.co/docs/hub/spaces-sdks-static" target="_blank">Static Spaces documentation</a>.
</p>
</div>
<pre />
</body>
<script>document.querySelector("pre").textContent = JSON.stringify(window.huggingface, null, 2)</script>
</html>