from Packages import * from Class_Mod import Plsr, LinearPCA, Umap, find_col_index, PinardPlsr, Nmf, AP from Class_Mod import LWPLSR, list_files, metrics, TpeIpls, reg_plot, resid_plot, Sk_Kmeans, DxRead, Hdbscan, read_dx, PlsProcess from Class_Mod.DATA_HANDLING import * from Class_Mod.Miscellaneous import prediction, download_results, plot_spectra, local_css from style.header import add_header from Report import report css_file = Path("style/") from config.config import pdflatex_path local_css(css_file / "style.css") # path = os.path.dirname(os.path.abspath(__file__)).replace('\\','/') # d1 = path.find('/') # css_file = path[:d1]+'/style' # st.session_state["interface"] = st.session_state.get('interface') # if st.session_state["interface"] == 'simple': # hide_pages("Predictions") # local_css(css_file +"/style.css")