CoolFace
Apppublic

ProfSK/hybridguard-canonicalize

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes
App README

HybridGuard Canonicalization — Hugging Face Space

This folder contains a self-contained Gradio app that demonstrates the WS1 canonicalization front-end from the HybridGuard paper as a public web demo.

Live demo (after deployment)

https://huggingface.co/spaces/ProfSK/hybridguard-canonicalize (deploy and update the URL once live)

Files

FilePurpose
app.pyThe Gradio interface (single file, runs on CPU; ~50 ms per inference)
requirements.txtPip dependencies (gradio + hybridguard from GitHub)
README.mdThis file (also serves as the Space's README on HF)

Deploy to Hugging Face Spaces (5 minutes)

  1. 1.Sign in at https://huggingface.co (free account).
  2. 2.Go to https://huggingface.co/new-space.
  3. 3.Owner: your HF username (ProfSK). Space name: hybridguard-canonicalize. License: MIT. SDK: Gradio. Hardware: CPU basic (free).
  4. 4.Click Create Space. You land on a new git repo.
  5. 5.In a terminal, clone the new Space and copy these files in:
bash
   git clone https://huggingface.co/spaces/ProfSK/hybridguard-canonicalize
   cd hybridguard-canonicalize
   cp ~/path/to/HybridGuard/demo/app.py .
   cp ~/path/to/HybridGuard/demo/requirements.txt .
   cp ~/path/to/HybridGuard/demo/README.md .
   git add -A
   git commit -m "Initial deploy: HybridGuard canonicalization demo"
   git push
  1. 1.Wait ~2 minutes for the Space to build (HF will install gradio + hybridguard from your GitHub repo).
  2. 2.Visit https://huggingface.co/spaces/ProfSK/hybridguard-canonicalize — your demo is live.

Test locally before deploying

bash
cd demo
pip install -r requirements.txt
python app.py
# Browser opens at http://127.0.0.1:7860

What to put in the paper

After the Space is live, add to the manuscript's Code & Data Availability statement:

A live web demo of the canonicalization front-end is available at `https://huggingface.co/spaces/ProfSK/hybridguard-canonicalize`. The same code can be installed locally via `pip install hybridguard`.

This single line transforms the paper from "code on GitHub" to "code with a working hosted demo" — a meaningful credibility upgrade.