From 7dce9e99d5e62dc8d24279004213b449a4c5e27e Mon Sep 17 00:00:00 2001 From: DIANE <abderrahim.diane@cefe.cnrs.fr> Date: Thu, 10 Oct 2024 10:06:00 +0200 Subject: [PATCH] app file update --- src/app.py | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/src/app.py b/src/app.py index da6948b..080a4bb 100644 --- a/src/app.py +++ b/src/app.py @@ -23,9 +23,12 @@ with st.container(): <h1 class="header1">Easily process <br> your spectral data<br> with <span class="green">NIRS Utils</span></h1> """, unsafe_allow_html=True) -st.markdown(' \n \n \n \n \n') - # add graphical abstract +st.markdown( + """ + <div style="height: 50px;"></div> + """, + unsafe_allow_html=True) c1, c2 = st.columns([2, 2]) with c2: image = Image.open("images/general.JPG") @@ -34,6 +37,12 @@ with c2: # subpage info +st.markdown( + """ + <div style="height: 50px;"></div> + """, + unsafe_allow_html=True) + c3, c4, c5 = st.columns([2, 1.5, 2]) with c3: st.markdown('<h2 class="centered-text">About</h2>', unsafe_allow_html=True) @@ -43,13 +52,11 @@ with c5: st.markdown('<h2 class="centered-text">Key Features</h2>', unsafe_allow_html=True) st.markdown('<h3 class="centered-text"> Our app featured a variety of analytical capabilities that makes it the optimal solution for spectral data processing : <br> - Easy-to-use. <br> - Use advanced frameworks. <br> - Enhanced automation capabilities. <br> - Saves your time and efforts.</h3>', unsafe_allow_html=True) -# st.markdown(' \n \n \n \n \n') - # add buttons at the bottom of the page header1, header2, header3,header4 = st.columns(4) if header1.button("Inputs"): - st.switch_page(pages_folder / '4-inputs.py') + st.switch_page(pages_folder / '0-inputs.py') if header2.button("Samples Selection"): st.switch_page(pages_folder / '1-samples_selection.py') if header3.button("Models Creation"): -- GitLab