Spaces:
Runtime error
Runtime error
|
Download README.md from Algorex/Background-Swap-Studio: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/spaces/Algorex/Background-Swap-Studio/resolve/main/README.md
- Command line
-
hf download hf://spaces/Algorex/Background-Swap-Studio/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Algorex/Background-Swap-Studio/resolve/main/README.md
1.41 kB
| title: Background Swap Studio | |
| emoji: 🎨 | |
| colorFrom: purple | |
| colorTo: blue | |
| sdk: gradio | |
| app_file: app.py | |
| pinned: false | |
| license: apache-2.0 | |
| # 🎨 Background Swap Studio | |
| Upload any image and instantly swap backgrounds with AI-powered presets! | |
| ## ℹ️ Current Mode: Demo Version | |
| This Space is running in **Demo Mode** on CPU (free tier). The UI demonstrates the full workflow with gradient overlay previews. | |
| **To unlock full AI-powered background swapping:** | |
| - Go to Settings → Hardware | |
| - Upgrade to T4 GPU (~$0.60/hour) | |
| - Automatically enables real background removal + AI generation | |
| ## Features | |
| - 12+ curated background presets (Studio White, Gradient Sunset, Nature Forest, Bokeh Lights, and more) | |
| - Custom background prompts supported | |
| - Fast and minimal interface | |
| - Beautiful gradient previews (demo mode) or AI-powered results (GPU mode) | |
| - Works with products, portraits, pets, and any objects | |
| ## How to Use | |
| 1. Upload your image | |
| 2. Choose a background preset | |
| 3. Click "Preview Background" (or "Swap Background" in GPU mode) | |
| 4. View the result! | |
| ## Tech Stack | |
| **Demo Mode (Current - CPU):** | |
| - Gradio for the interface | |
| - PIL for image processing | |
| - Gradient overlay simulation | |
| **Production Mode (GPU Required):** | |
| - RMBG-1.4 for background removal | |
| - Stable Diffusion 2 Inpainting for realistic backgrounds | |
| - Professional quality AI-generated results | |
| --- | |
| Built with ❤️ using Gradio |