Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,9 @@ st.set_page_config(
|
|
16 |
|
17 |
# Custom CSS for styling
|
18 |
tabs_css = """
|
19 |
-
|
|
|
|
|
20 |
body, .stApp {
|
21 |
background-color: #E3F2FD;
|
22 |
}
|
@@ -37,25 +39,31 @@ tabs_css = """
|
|
37 |
text-align: center;
|
38 |
}
|
39 |
.stTabs [data-baseweb="tab-list"] {
|
40 |
-
background-color:
|
41 |
border-radius: 20px;
|
42 |
padding: 5px;
|
|
|
43 |
}
|
44 |
.stTabs [data-baseweb="tab"] {
|
45 |
-
color:
|
46 |
font-weight: bold;
|
47 |
border-radius: 20px;
|
48 |
padding: 10px 20px;
|
49 |
}
|
50 |
.stTabs [aria-selected="true"] {
|
51 |
-
background-color: #
|
52 |
-
color:
|
|
|
53 |
}
|
54 |
</style>
|
55 |
"""
|
56 |
|
57 |
st.markdown(tabs_css, unsafe_allow_html=True)
|
58 |
|
|
|
|
|
|
|
|
|
59 |
# Retrieve the Google API key from the environment
|
60 |
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
|
61 |
|
|
|
16 |
|
17 |
# Custom CSS for styling
|
18 |
tabs_css = """
|
19 |
+
# Custom CSS for styling
|
20 |
+
tabs_css = """
|
21 |
+
<style>
|
22 |
body, .stApp {
|
23 |
background-color: #E3F2FD;
|
24 |
}
|
|
|
39 |
text-align: center;
|
40 |
}
|
41 |
.stTabs [data-baseweb="tab-list"] {
|
42 |
+
background-color: white;
|
43 |
border-radius: 20px;
|
44 |
padding: 5px;
|
45 |
+
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Adds subtle shadow */
|
46 |
}
|
47 |
.stTabs [data-baseweb="tab"] {
|
48 |
+
color: #003366;
|
49 |
font-weight: bold;
|
50 |
border-radius: 20px;
|
51 |
padding: 10px 20px;
|
52 |
}
|
53 |
.stTabs [aria-selected="true"] {
|
54 |
+
background-color: #E3F2FD !important;
|
55 |
+
color: #003366 !important;
|
56 |
+
font-weight: bold;
|
57 |
}
|
58 |
</style>
|
59 |
"""
|
60 |
|
61 |
st.markdown(tabs_css, unsafe_allow_html=True)
|
62 |
|
63 |
+
"""
|
64 |
+
|
65 |
+
st.markdown(tabs_css, unsafe_allow_html=True)
|
66 |
+
|
67 |
# Retrieve the Google API key from the environment
|
68 |
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
|
69 |
|