Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
6.0.2
metadata
title: Furniture Remover AI
emoji: ποΈ
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 4.26.0
app_file: app.py
pinned: false
ποΈ Furniture Remover AI β Clean Any Room Image
This Space uses YOLOv8 and Flux.1-Kontext to detect and remove furniture or selected objects from any room image. Powered by π€ Hugging Face, Gradio, and Diffusers.
β¨ Features
- π€ Upload a photo of a room
- π€ Detect objects using YOLOv8
- π― Two modes available:
- Remove All Furniture β deletes all common furniture automatically
- Selective Removal β choose which objects to remove from a detected list
- π¨ Clean and realistic image inpainting with Flux.1-Kontext (no mask needed)
π How It Works
- Upload your room image
- Select a mode:
- Mode 1: Remove all furniture
- Mode 2: Select specific items (e.g., couch, vase, lamp)
- Click Submit and get a cleaned image
π§ Models Used
- YOLOv8 β for object detection (Ultralytics)
- Flux.1-Kontext (black-forest-labs/FLUX.1-Kontext-dev) β prompt-based image inpainting using Hugging Face Diffusers
π Hugging Face Token Required
This app uses a private model. To use it:
- Go to Settings β Secrets in your Space
- Add your token as:from huggingface_hub import login import os
Load token from HF secrets
hf_token = os.getenv("HUGGINGFACE_TOKEN") login(token=hf_token)
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference