import streamlit as st import pandas as pd st.title("🧬 Medical & Biotech AI Research Hub") # Data for patients patients = { "BIO001": {"Name": "Amina Suleiman", "Status": "CRITICAL", "Conditions": "Malaria + Diabetes"}, "BIO002": {"Name": "Ibrahim Musa", "Status": "MODERATE", "Conditions": "Sickle Cell Trait + Ulcer"}, "BIO003": {"Name": "Fatima Abdullahi", "Status": "NORMAL", "Conditions": "No conditions"}, "BIO004": {"Name": "Usman Yusuf", "Status": "CRITICAL", "Conditions": "Typhoid + Influenza"} } tab1, tab2 = st.tabs(["📊 Research Dashboard", "🔐 Patient Screening"]) with tab1: st.header("Research Dashboard") st.write("Welcome to the AI Research Hub.") if st.button("Refresh Data"): st.success("Data reloaded!") with tab2: st.header("Patient Screening") patient_id = st.text_input("Enter Patient ID (e.g., BIO001)") if st.button("Retrieve Profile"): if patient_id in patients: p = patients[patient_id] st.write(f"**Name**: {p['Name']}") st.write(f"**Status**: {p['Status']}") st.write(f"**Conditions**: {p['Conditions']}") else: st.error("Patient ID not found!")