Spaces:
Sleeping
Sleeping
import os | |
import streamlit as st | |
from page_selector import remove_seasonal_pages | |
from login_component import get_authorization_button | |
def get_local_style(): | |
code_str = "" | |
with open(os.path.join(os.path.dirname(__file__), "style.css")) as f: | |
code_str = "<style>{}</style>".format(f.read()) | |
return code_str | |
def local_css(): | |
return st.markdown(get_local_style(), unsafe_allow_html=True) | |
def common_page_config(): | |
local_css() | |
get_authorization_button() | |
remove_seasonal_pages() | |