Spaces:
Runtime error
Runtime error
Commit
·
e5757a8
1
Parent(s):
4ae2c46
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ if user_input:
|
|
| 50 |
|
| 51 |
chat_history.append({"role": "model", "parts": [{"text": response_text}]})
|
| 52 |
|
| 53 |
-
|
| 54 |
c.execute("SELECT * FROM history")
|
| 55 |
rows = c.fetchall()
|
| 56 |
|
|
|
|
| 50 |
|
| 51 |
chat_history.append({"role": "model", "parts": [{"text": response_text}]})
|
| 52 |
|
| 53 |
+
if st.button("Display History"):
|
| 54 |
c.execute("SELECT * FROM history")
|
| 55 |
rows = c.fetchall()
|
| 56 |
|