import streamlit as st import streamlit.components.v1 as stc from eda_app import run_eda_app from ml_app import run_ml_app html_temp = """

Early Stage DM Risk Data App

Diabetes

""" desc_temp=""" ### Early Stage Diabetes Risk Predictor App This dataset contains the sign and symptoms data of newly diabetic or would be diabetic patient. #### Datasource - https://archive.ics.uci.edu/ml/datasets/Early+stage+diabetes+risk+prediction+dataset. #### App Content - EDA Section: Exploratory Data Analysis of Data - ML Section: ML Predictor App """ def main(): #st.title("Main App") stc.html(html_temp) menu= ["Home", "FACTS", "ML-PREDICTOR", "About"] choice=st.sidebar.selectbox("Menu", menu) if choice=="Home": st.subheader("Home") #st.write(desc_temp) st.markdown(desc_temp,unsafe_allow_html=True) elif choice=="FACTS": run_eda_app() elif choice=="ML-PREDICTOR": run_ml_app() else: st.subheader("About") if __name__=="__main__": main()