import streamlit as st from config.settings import settings st.set_page_config(page_title=f"Home - {settings.APP_TITLE}", layout="wide") if not st.session_state.get("authenticated_user"): st.warning("Please log in to access the application.") st.stop() # Stop script execution if not authenticated # --- Page Content --- st.title(f"Welcome to {settings.APP_TITLE}, {st.session_state.authenticated_user.username}!") st.markdown(""" This application leverages cutting-edge AI and (simulated) quantum optimization techniques to provide insights for healthcare professionals. **Features:** - **AI-Powered Consultation:** Engage in a conversation with an AI assistant capable of understanding medical queries, looking up information from UMLS and BioPortal, and more. - **Quantum Treatment Optimizer:** (Simulated) Explore novel treatment strategies based on patient data, current treatments, and diagnosed conditions. - **Secure User Authentication:** Your data and interactions are protected. - **Reporting:** Generate PDF summaries of your consultations. **How to Get Started:** 1. Navigate to the **Consult** page to start a new session with the AI. 2. Use the **Reports** page to view and download past consultation summaries. *Disclaimer: This is a demonstration application. Information provided should not be used for actual medical decision-making without verification by qualified medical professionals.* """) st.image("assets/logo.png", width=150, caption=settings.APP_TITLE)