Spaces:
Sleeping
Sleeping
| import streamlit as st | |
| def initialize_session_state(): | |
| """Initialize session state variables.""" | |
| if 'history' not in st.session_state: | |
| st.session_state.history = [] | |
| def load_css(): | |
| """Load custom CSS styles.""" | |
| st.markdown(""" | |
| <style> | |
| .stButton>button { | |
| width: 100%; | |
| background-color: #FF4B4B; | |
| color: white; | |
| } | |
| .stTextInput>div>div>input { | |
| border-radius: 5px; | |
| } | |
| .stMarkdown { | |
| font-family: 'Arial', sans-serif; | |
| } | |
| h1, h2, h3 { | |
| color: #262730; | |
| } | |
| .sidebar .sidebar-content { | |
| background-color: #F0F2F6; | |
| } | |
| .stExpander { | |
| background-color: white; | |
| border-radius: 5px; | |
| margin-bottom: 10px; | |
| } | |
| .stRadio > div { | |
| display: flex; | |
| gap: 1rem; | |
| } | |
| .stSelectbox { | |
| margin-bottom: 1rem; | |
| } | |
| </style> | |
| """, unsafe_allow_html=True) | |