""" Sidebar Component for DermaScan AI """ import streamlit as st def render_sidebar(state_cities): """ Render the sidebar with location selection and information Args: state_cities: Dictionary of states and their cities Returns: tuple: (selected_state, selected_city) """ with st.sidebar: st.markdown("### 📍 Location") selected_state = st.selectbox( "State", list(state_cities.keys()), index=list(state_cities.keys()).index("Delhi") ) cities = state_cities.get(selected_state, ["Other"]) selected_city = st.selectbox("City", cities, index=0) st.markdown("---") st.markdown("### 🔬 About DermaScan AI") st.markdown("""
Advanced AI-powered dermatology analysis system using deep learning to detect and classify skin conditions.
🧠 Technology
• EfficientNet-B3 Architecture
• 96% AUC-ROC Accuracy
• Real-time Analysis
🔬 Detects 13 Conditions
• 3 Cancer Types
• 4 Benign Conditions
• 6 Skin Diseases
📊 Training Data
• HAM10000 Dataset
• DermNet Collection
• 10,000+ Images
🚨 Emergency: 112
🚑 Ambulance: 108
🏥 Health: 104
🎗️ Cancer: 1800-11-6006
"
"🏥 DermaScan AI v1.0
Medical Grade Analysis