Anne31415 commited on
Commit
89ef6e3
·
verified ·
1 Parent(s): a6854c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -443,6 +443,8 @@ def page2():
443
  # Calculate duration
444
  duration = end_time - start_time
445
  st.text(f"Response time: {duration:.2f} seconds")
 
 
446
 
447
 
448
  # Combine chat histories from all pages
 
443
  # Calculate duration
444
  duration = end_time - start_time
445
  st.text(f"Response time: {duration:.2f} seconds")
446
+
447
+ st.session_state['chat_history_page2'].append(("Bot", response, "new"))
448
 
449
 
450
  # Combine chat histories from all pages