Spaces:
Sleeping
Sleeping
File size: 516 Bytes
33ea4bb b586854 e80e35a 71f25bb b586854 e80e35a 71f25bb e80e35a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
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()
|