Spaces:
Sleeping
Sleeping
File size: 666 Bytes
7cf6c15 4d4b05d 7cf6c15 dd56812 4d4b05d 7cf6c15 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
import streamlit as st
from config import DEFAULT_ICON
from shared_page import common_page_config
from login_component import is_token_in_session
def get_page():
page_title = "Yahoo FF League Simulation"
st.set_page_config(page_title=page_title, page_icon=DEFAULT_ICON, layout="wide")
common_page_config()
st.title(page_title)
if not is_token_in_session():
st.write(
"You must authorize the application to access your account in order to use this feature."
" Please click Login button above."
)
else:
st.write("Logged in. Feature to go here")
if __name__ == "__main__":
get_page()
|