diff --git a/Logo.png b/Logo.png new file mode 100644 index 0000000..93a71af Binary files /dev/null and b/Logo.png differ diff --git a/app.py b/app.py index 30101e1..d0abe68 100644 --- a/app.py +++ b/app.py @@ -1,5 +1,7 @@ import os import streamlit as st +import numpy as np +from PIL import Image # Custom imports from multipage import MultiPage @@ -9,14 +11,20 @@ app = MultiPage() # Title of the main page -st.title("Data Storyteller Application") +display = Image.open('Logo.png') +display = np.array(display) +# st.image(display, width = 400) +# st.title("Data Storyteller Application") +col1, col2 = st.beta_columns(2) +col1.image(display, width = 400) +col2.title("Data Storyteller Application") # Add all your application here app.add_page("Upload Data", data_upload.app) app.add_page("Change Metadata", metadata.app) app.add_page("Machine Learning", machine_learning.app) app.add_page("Data Analysis",data_visualize.app) -app.add_page("Redundant Columns",redundant.app) +app.add_page("Y-Parameter Optimization",redundant.app) # The main app app.run() diff --git a/pages/utils.py b/pages/utils.py index 88eef35..598ec79 100644 --- a/pages/utils.py +++ b/pages/utils.py @@ -69,7 +69,7 @@ def getRedundentColumns(corr, y: str, threshold =0.1): redunt = [] k = 0 for ind, c in enumerate(corr[y]): - if c