Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -176,7 +176,7 @@ def display_sample_query_boxes(key_prefix=""):
|
|
| 176 |
def display_chat_history(task: str):
|
| 177 |
for entry in st.session_state.get(f"all_chat_history_{task}", []):
|
| 178 |
if entry.get("query"):
|
| 179 |
-
st.chat_message("
|
| 180 |
if entry.get("fig"):
|
| 181 |
st.plotly_chart(entry["fig"], use_container_width=True)
|
| 182 |
if entry.get("df") is not None:
|
|
|
|
| 176 |
def display_chat_history(task: str):
|
| 177 |
for entry in st.session_state.get(f"all_chat_history_{task}", []):
|
| 178 |
if entry.get("query"):
|
| 179 |
+
st.chat_message("user").write(entry["query"])
|
| 180 |
if entry.get("fig"):
|
| 181 |
st.plotly_chart(entry["fig"], use_container_width=True)
|
| 182 |
if entry.get("df") is not None:
|