background-removal / README.md
sdragly's picture
Unify frontend + backend into single HF Docker Space
3ad9f44
metadata
title: Princess
emoji: πŸ‘‘
colorFrom: indigo
colorTo: red
sdk: docker
pinned: false

Princess

A dress-up game for kids. Photograph clothes and accessories, background-remove them, then drag them onto princess drawings.

This repo is deployed in one piece:

  • Frontend β€” vanilla HTML/CSS/ES-module JS in index.html, style.css, js/.
  • Backend β€” FastAPI in space/app.py, serves /remove-bg (rembg) and mounts the frontend at / via StaticFiles.
  • Container β€” Dockerfile at repo root.

One git push updates both GitHub and the Hugging Face Space.