mgbam commited on
Commit
93cbb0d
·
verified ·
1 Parent(s): 0b77233

Update pages/1_Home.py

Browse files
Files changed (1) hide show
  1. pages/1_Home.py +32 -0
pages/1_Home.py CHANGED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from config.settings import settings
3
+
4
+ st.set_page_config(page_title=f"Home - {settings.APP_TITLE}", layout="wide")
5
+
6
+ if not st.session_state.get("authenticated_user"):
7
+ st.warning("Please log in to access the application.")
8
+ st.stop() # Stop script execution if not authenticated
9
+
10
+ # --- Page Content ---
11
+ st.title(f"Welcome to {settings.APP_TITLE}, {st.session_state.authenticated_user.username}!")
12
+ st.markdown("""
13
+ This application leverages cutting-edge AI and (simulated) quantum optimization techniques
14
+ to provide insights for healthcare professionals.
15
+
16
+ **Features:**
17
+ - **AI-Powered Consultation:** Engage in a conversation with an AI assistant capable of understanding medical queries,
18
+ looking up information from UMLS and BioPortal, and more.
19
+ - **Quantum Treatment Optimizer:** (Simulated) Explore novel treatment strategies based on patient data,
20
+ current treatments, and diagnosed conditions.
21
+ - **Secure User Authentication:** Your data and interactions are protected.
22
+ - **Reporting:** Generate PDF summaries of your consultations.
23
+
24
+ **How to Get Started:**
25
+ 1. Navigate to the **Consult** page to start a new session with the AI.
26
+ 2. Use the **Reports** page to view and download past consultation summaries.
27
+
28
+ *Disclaimer: This is a demonstration application. Information provided should not be used for
29
+ actual medical decision-making without verification by qualified medical professionals.*
30
+ """)
31
+
32
+ st.image("assets/logo.png", width=150, caption=settings.APP_TITLE)