Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|