hskwon7 commited on
Commit
e5c69a4
·
verified ·
1 Parent(s): 8854cb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("assistant").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:
 
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: