import streamlit as st import base64 import os def apply_custom_css(): """Apply shared CSS styles to the current page.""" logo_b64 = "" if os.path.exists("assets/logo.png"): try: with open("assets/logo.png", "rb") as f: logo_b64 = base64.b64encode(f.read()).decode() except: pass st.markdown(""" """.replace("LOGO_BASE64_PLACEHOLDER", logo_b64), unsafe_allow_html=True)