File size: 623 Bytes
80dc74c
 
 
 
4f55ca2
 
 
 
 
 
 
 
80dc74c
7e207f0
 
 
 
80dc74c
7e207f0
5ead791
80dc74c
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import streamlit as st

from app_lib.main import main

if "sidebar_state" not in st.session_state:
    st.session_state.sidebar_state = "collapsed"
if "disabled" not in st.session_state:
    st.session_state.disabled = False
if "results" not in st.session_state:
    st.session_state.results = None

st.set_page_config(layout="wide", initial_sidebar_state=st.session_state.sidebar_state)

with open("style.css", "r") as f:
    style = f.read()
with open("header.md", "r") as f:
    header = f.read()

st.markdown(f"<style>{style}</style>", unsafe_allow_html=True)
st.markdown(header)

if __name__ == "__main__":
    main()