Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ embedding_model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2")
|
|
26 |
embedding_dim = 384
|
27 |
chat_index = faiss.IndexFlatL2(embedding_dim)
|
28 |
doc_index = faiss.IndexFlatL2(embedding_dim)
|
29 |
-
|
30 |
|
31 |
# Session-based Memory (Resets Each Session)
|
32 |
chat_sessions = {}
|
|
|
26 |
embedding_dim = 384
|
27 |
chat_index = faiss.IndexFlatL2(embedding_dim)
|
28 |
doc_index = faiss.IndexFlatL2(embedding_dim)
|
29 |
+
doc_texts = []
|
30 |
|
31 |
# Session-based Memory (Resets Each Session)
|
32 |
chat_sessions = {}
|