Update app.py
Browse files
app.py
CHANGED
@@ -97,11 +97,6 @@ class MyBot:
|
|
97 |
)
|
98 |
|
99 |
#---------------------------------------------------------
|
100 |
-
# Set main colors
|
101 |
-
background_color = "#454545"
|
102 |
-
accent_color = "#FF6000"
|
103 |
-
text_color = "#FFA559"
|
104 |
-
button_color = "#FFE6C7"
|
105 |
|
106 |
# Set page config
|
107 |
st.set_page_config(
|
@@ -112,34 +107,27 @@ st.set_page_config(
|
|
112 |
)
|
113 |
|
114 |
# Set Streamlit theme
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
.stSelectbox select {{
|
137 |
-
color: {text_color};
|
138 |
-
}}
|
139 |
-
</style>
|
140 |
-
""",
|
141 |
-
unsafe_allow_html=True,
|
142 |
-
)
|
143 |
|
144 |
# Replicate Credentials
|
145 |
with st.sidebar:
|
|
|
97 |
)
|
98 |
|
99 |
#---------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
100 |
|
101 |
# Set page config
|
102 |
st.set_page_config(
|
|
|
107 |
)
|
108 |
|
109 |
# Set Streamlit theme
|
110 |
+
|
111 |
+
# Define the custom CSS
|
112 |
+
custom_css = """
|
113 |
+
<style>
|
114 |
+
body {
|
115 |
+
background-color: #FFE6C7;
|
116 |
+
}
|
117 |
+
h1 {
|
118 |
+
color: #454545;
|
119 |
+
}
|
120 |
+
h2 {
|
121 |
+
color: #FF6000;
|
122 |
+
}
|
123 |
+
h3 {
|
124 |
+
color: #FFA559;
|
125 |
+
}
|
126 |
+
</style>
|
127 |
+
"""
|
128 |
+
|
129 |
+
# Add the custom CSS to the app
|
130 |
+
st.markdown(custom_css, unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
|
132 |
# Replicate Credentials
|
133 |
with st.sidebar:
|