""" app.py ------ Streamlit entry point for the Pothole Detection web app. Run with: conda activate pothole_env streamlit run app.py """ import streamlit as st # ── Page config — MUST be the first Streamlit call ──────────────────────────── st.set_page_config( page_title="APDS | Automated Pavement Distress System", page_icon="🏗️", layout="wide", initial_sidebar_state="expanded", menu_items={ "Get Help": None, "Report a bug": None, "About": ( "**Automated Pavement Distress System (APDS)**\n\n" "An AI-based diagnostic tool for road maintenance.\n" "Powered by YOLOv11 · Smartathon 2024 Project\n" "11,962 training images · mAP50 up to 74.1%" ), }, ) # ── Custom CSS ──────────────────────────────────────────────────────────────── st.markdown( """ """, unsafe_allow_html=True, ) # ── Import and render dashboard ─────────────────────────────────────────────── from apds import dashboard dashboard.render()