Spaces:
Build error
Build error
apahilaj commited on
Commit ·
0e35643
1
Parent(s): 7008b46
print memory
Browse files
app.py
CHANGED
|
@@ -60,6 +60,7 @@ def load_db(file, k):
|
|
| 60 |
|
| 61 |
def chat(input_text, pdf_file):
|
| 62 |
qa = load_db(pdf_file, 3)
|
|
|
|
| 63 |
print(memory)
|
| 64 |
if not memory.history:
|
| 65 |
# If no previous conversation, start with a greeting
|
|
|
|
| 60 |
|
| 61 |
def chat(input_text, pdf_file):
|
| 62 |
qa = load_db(pdf_file, 3)
|
| 63 |
+
print("MEMORY")
|
| 64 |
print(memory)
|
| 65 |
if not memory.history:
|
| 66 |
# If no previous conversation, start with a greeting
|