Spaces:
Running
Running
File size: 1,239 Bytes
761e949 |
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
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)
|