Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions ui-poc/Home.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
import json
from datetime import datetime

from streamlit_cookies_manager import EncryptedCookieManager
import requests
from datetime import datetime
import json
import streamlit as st
from streamlit_cookies_manager import EncryptedCookieManager

# Configure the page – must come immediately after importing Streamlit
st.set_page_config(
page_title="Splitwiser",
page_icon="πŸ’°",
layout="wide",
initial_sidebar_state="expanded",
)


# 3rd-party / std-lib imports – safe after the call above

# Configure the page
st.set_page_config(
Expand All @@ -12,6 +22,11 @@
layout="wide",
initial_sidebar_state="expanded",
)
# NOTE:
# set_page_config() must be the very first Streamlit command,
# placed right after `import streamlit as st` and before any
# other `st.` calls (even indirectly via imports).


# Initialize session state variables
if "access_token" not in st.session_state:
Expand Down
Loading