Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1391,7 +1391,7 @@ def show_main_app():
|
|
| 1391 |
margin-bottom: 15px;
|
| 1392 |
}
|
| 1393 |
.bot-message {
|
| 1394 |
-
background-color: #
|
| 1395 |
color: #343a40;
|
| 1396 |
border-radius: 18px 18px 18px 5px; /* Rounded corners, pointed at bottom-right */
|
| 1397 |
padding: 12px 18px;
|
|
@@ -1521,7 +1521,7 @@ def show_main_app():
|
|
| 1521 |
with st.container(border=True): # Streamlit's built-in container with border
|
| 1522 |
col1, col2 = st.columns(2)
|
| 1523 |
with col1:
|
| 1524 |
-
st.markdown("<label class='stSelectbox>label' style='margin-bottom:0.6rem;padding-left:5px;'>
|
| 1525 |
selected_category = st.selectbox("Choose a quote theme", list(quote_categories.keys()), label_visibility="collapsed") # Hide default label
|
| 1526 |
|
| 1527 |
with col2:
|
|
|
|
| 1391 |
margin-bottom: 15px;
|
| 1392 |
}
|
| 1393 |
.bot-message {
|
| 1394 |
+
background-color: #000000; /* White for bot */
|
| 1395 |
color: #343a40;
|
| 1396 |
border-radius: 18px 18px 18px 5px; /* Rounded corners, pointed at bottom-right */
|
| 1397 |
padding: 12px 18px;
|
|
|
|
| 1521 |
with st.container(border=True): # Streamlit's built-in container with border
|
| 1522 |
col1, col2 = st.columns(2)
|
| 1523 |
with col1:
|
| 1524 |
+
st.markdown("<label class='stSelectbox>label' style='margin-bottom:0.6rem;padding-left:5px;'>Choose a quote theme:</label>", unsafe_allow_html=True) # Custom label for selectbox
|
| 1525 |
selected_category = st.selectbox("Choose a quote theme", list(quote_categories.keys()), label_visibility="collapsed") # Hide default label
|
| 1526 |
|
| 1527 |
with col2:
|