Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,19 +7,25 @@ import plotly.express as px
|
|
| 7 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
| 8 |
from sklearn.metrics.pairwise import cosine_similarity
|
| 9 |
|
| 10 |
-
# Custom CSS for white background, styled sidebar, and
|
| 11 |
st.markdown("""
|
| 12 |
<style>
|
| 13 |
.main {
|
| 14 |
background-color: white !important;
|
|
|
|
| 15 |
}
|
| 16 |
.block-container {
|
| 17 |
background-color: white !important;
|
|
|
|
| 18 |
}
|
| 19 |
section[data-testid="stSidebar"] > div:first-child {
|
| 20 |
background-color: #f8f9fa !important;
|
| 21 |
padding: 1rem;
|
| 22 |
border-radius: 0.5rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
}
|
| 24 |
img.banner {
|
| 25 |
width: 100%;
|
|
|
|
| 7 |
from sklearn.feature_extraction.text import TfidfVectorizer
|
| 8 |
from sklearn.metrics.pairwise import cosine_similarity
|
| 9 |
|
| 10 |
+
# Custom CSS for white background, styled sidebar, banner, and dark grey font
|
| 11 |
st.markdown("""
|
| 12 |
<style>
|
| 13 |
.main {
|
| 14 |
background-color: white !important;
|
| 15 |
+
color: #333333 !important;
|
| 16 |
}
|
| 17 |
.block-container {
|
| 18 |
background-color: white !important;
|
| 19 |
+
color: #333333 !important;
|
| 20 |
}
|
| 21 |
section[data-testid="stSidebar"] > div:first-child {
|
| 22 |
background-color: #f8f9fa !important;
|
| 23 |
padding: 1rem;
|
| 24 |
border-radius: 0.5rem;
|
| 25 |
+
color: #333333 !important;
|
| 26 |
+
}
|
| 27 |
+
.stMarkdown, .stTextInput, .stDataFrame {
|
| 28 |
+
color: #333333 !important;
|
| 29 |
}
|
| 30 |
img.banner {
|
| 31 |
width: 100%;
|