import streamlit as st import streamlit.components.v1 as components from activities.activity import ml from ml.mlmodel import MLDataset import plotly.express as px import pandas as pd import pandas_profiling import os from sklearn.datasets import load_diabetes from streamlit_pandas_profiling import st_profile_report from streamlit_option_menu import option_menu def main(): #Sidebar from PIL import Image st.sidebar.image('logo.png', use_column_width=True) image_loan=Image.open(os.path.join("data analysis.jpg")) rad = st.sidebar.radio("Navigation",["Home","Analysis","Visualize","Machine-Learning"]) # if rad=="Home": # HtmlFile = open("style.css", 'r', encoding='utf-8') # source_code = HtmlFile.read() # components.html(source_code,width=900, height=700) # # print(source_code) with open('style.css') as f: st.markdown(f'