bhaumikdoshi18/spaces-capabilities-demo
0
๐งช Spaces Capabilities Demo
A dummy, hands-on sandbox for understanding what Hugging Face Spaces can do.
This is a Static Space โ plain HTML/CSS/JS served straight from a git repo, free for everyone, no GPU or paid plan required. Despite being "just static", it runs a real machine-learning model live in your browser using ๐ค Transformers.js (WebGPU / WASM), with the model weights streamed from the Hugging Face Hub CDN. No backend, no server code.
What it demonstrates
- In-browser ML โ sentiment analysis running client-side, zero server compute.
- The three Space SDKs โ Static vs. Gradio vs. Docker, and when to reach for each.
- Hardware tiers โ CPU, ZeroGPU, and dedicated GPUs, and what a free account can host.
- The Space anatomy โ every Space is a git repo with a
README.mdfrontmatter block that configures the runtime.
How it was built
Created and deployed entirely from the command line with the hf CLI:
hf repos create <you>/spaces-capabilities-demo --type space --space-sdk static --public
hf upload <you>/spaces-capabilities-demo . --repo-type spaceThe whole app is a single `index.html` โ open it to see how the in-browser model is loaded and run.
