Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,13 +121,13 @@ def display_sample_query_boxes(key_prefix=""):
|
|
| 121 |
}
|
| 122 |
|
| 123 |
cols = st.columns(len(sample_queries))
|
| 124 |
-
title_h, desc_h, query_h = "
|
| 125 |
|
| 126 |
for idx, (key, details) in enumerate(sample_queries.items()):
|
| 127 |
with cols[idx]:
|
| 128 |
st.markdown(f"""
|
| 129 |
<div style="
|
| 130 |
-
width:100%; height:
|
| 131 |
border-radius:10px; padding:15px; margin:auto;
|
| 132 |
display:flex; flex-direction:column; justify-content:space-between;
|
| 133 |
box-shadow:2px 2px 8px rgba(0,0,0,0.1);
|
|
@@ -155,7 +155,7 @@ def display_sample_query_boxes(key_prefix=""):
|
|
| 155 |
"portfolio_projection": "ETF Portfolio"
|
| 156 |
}
|
| 157 |
st.session_state["page"] = page_map[key]
|
| 158 |
-
st.
|
| 159 |
st.markdown("</div>", unsafe_allow_html=True)
|
| 160 |
|
| 161 |
def display_chat_history(task: str):
|
|
|
|
| 121 |
}
|
| 122 |
|
| 123 |
cols = st.columns(len(sample_queries))
|
| 124 |
+
title_h, desc_h, query_h = "30px", "30px", "40px"
|
| 125 |
|
| 126 |
for idx, (key, details) in enumerate(sample_queries.items()):
|
| 127 |
with cols[idx]:
|
| 128 |
st.markdown(f"""
|
| 129 |
<div style="
|
| 130 |
+
width:100%; height:200px; border:1px solid #ddd;
|
| 131 |
border-radius:10px; padding:15px; margin:auto;
|
| 132 |
display:flex; flex-direction:column; justify-content:space-between;
|
| 133 |
box-shadow:2px 2px 8px rgba(0,0,0,0.1);
|
|
|
|
| 155 |
"portfolio_projection": "ETF Portfolio"
|
| 156 |
}
|
| 157 |
st.session_state["page"] = page_map[key]
|
| 158 |
+
st.rerun()
|
| 159 |
st.markdown("</div>", unsafe_allow_html=True)
|
| 160 |
|
| 161 |
def display_chat_history(task: str):
|