tawfik.gh
commited on
Commit
•
366820f
1
Parent(s):
30ae697
log the docs
Browse files
app.py
CHANGED
@@ -62,8 +62,12 @@ if prompt := st.chat_input("What is up?"):
|
|
62 |
if len(history_docs) == 3:
|
63 |
history_docs.pop(0)
|
64 |
history_docs.append(docs)
|
|
|
|
|
65 |
else:
|
66 |
history_docs.append(docs)
|
|
|
|
|
67 |
|
68 |
|
69 |
|
|
|
62 |
if len(history_docs) == 3:
|
63 |
history_docs.pop(0)
|
64 |
history_docs.append(docs)
|
65 |
+
print(history_docs)
|
66 |
+
print(len(history_docs))
|
67 |
else:
|
68 |
history_docs.append(docs)
|
69 |
+
print(history_docs)
|
70 |
+
print(len(history_docs))
|
71 |
|
72 |
|
73 |
|