--- title: Bridge Semantic Segmentation emoji: 🛰️ colorFrom: blue colorTo: gray sdk: gradio app_file: app.py pinned: false license: apache-2.0 --- # Bridge Semantic Segmentation (UNet++) An interactive Hugging Face Space for segmenting bridge inspection images into: - **background** - **beton** (concrete) - **steel** > First launch may take a few minutes while the ~800MB weight file downloads from `g-loubna/bridge-unetpp`. ## Features - Colored Mask / Overlay / Raw Class Indices modes - Adjustable background transparency (Colored Mask) - Adjustable overlay opacity (Overlay) - Legend with pixel counts & percentages - Downloadable raw mask ## Files - `app.py` – Gradio interface + weight download - `inference.py` – Prediction utilities - `model.py` – Model definition/wrapper - `style.css` – Custom UI styling - `requirements.txt` – Dependencies ## Troubleshooting If build fails with a python:3.1 image again, ensure this header appears exactly as shown (no `python_version` line). Push a new commit. ## License Apache-2.0 (see header). Change `license:` field and add a LICENSE file if you prefer another license.