Skip to content
Snippets Groups Projects
app.py 1.19 KiB
Newer Older
  • Learn to ignore specific revisions
  • DIANE's avatar
    DIANE committed
    #from Modules_manager.PCA_ import pca_maker
    
    from Packages import *
    
    Nicolas BARTHES's avatar
    Nicolas BARTHES committed
    st.set_page_config(page_title="NIRS Utils", page_icon=":goat:", layout="wide")
    
    DIANE's avatar
    DIANE committed
    from Modules import *
    
    DIANE's avatar
    DIANE committed
    
    # graphical delimiter
    
    DIANE's avatar
    DIANE committed
    
    
    # load images for web interface
    
    # img_sselect = Image.open("images\sselect.JPG")
    # img_general = Image.open("images\general.JPG")
    # img_predict = Image.open("images\predict.JPG")
    
    Nicolas BARTHES's avatar
    Nicolas BARTHES committed
    
    
    # TOC menu on the left
    
    # with st.sidebar:
    #     st.markdown("[Sample Selection](#sample-selection)")
    #     st.markdown("[Model Development](#create-a-model)")
    #     st.markdown("[Predictions Making](#predict)")
    
    DIANE's avatar
    DIANE committed
    
    
    
    Nicolas BARTHES's avatar
    Nicolas BARTHES committed
    with st.container():
    
    DIANE's avatar
    DIANE committed
        st.subheader("Plateforme d'Analyses Chimiques pour l'Ecologie-PACE :goat:")
    
    Nicolas BARTHES's avatar
    Nicolas BARTHES committed
        st.title("NIRS Utils")
    
        st.write("Samples selection (PCA, [UMAP](https://umap-learn.readthedocs.io/en/latest/how_umap_works.html), ...), Predictive Modelling ([Pinard](https://github.com/GBeurier/pinard), [LWPLSR](https://doi.org/10.1002/cem.3209), ...), and Predictions using your data (CSV or DX files) and/or PACE NIRS Database.")
    
    DIANE's avatar
    DIANE committed
        #st.image(img_general)
    
        st.markdown("### We could add documentation here ###")
    
    DIANE's avatar
    DIANE committed