Spaces:
Running
Running
fix
Browse files- app/rag.py +3 -1
app/rag.py
CHANGED
@@ -25,6 +25,7 @@ class ChatPDF:
|
|
25 |
text_chunks = []
|
26 |
doc_ids = []
|
27 |
nodes = []
|
|
|
28 |
|
29 |
def __init__(self):
|
30 |
logging.basicConfig(level=logging.INFO)
|
@@ -99,4 +100,5 @@ class ChatPDF:
|
|
99 |
def clear(self):
|
100 |
self.text_chunks = []
|
101 |
self.doc_ids = []
|
102 |
-
self.nodes = []
|
|
|
|
25 |
text_chunks = []
|
26 |
doc_ids = []
|
27 |
nodes = []
|
28 |
+
hyde_query_engine = None
|
29 |
|
30 |
def __init__(self):
|
31 |
logging.basicConfig(level=logging.INFO)
|
|
|
100 |
def clear(self):
|
101 |
self.text_chunks = []
|
102 |
self.doc_ids = []
|
103 |
+
self.nodes = []
|
104 |
+
self.hyde_query_engine = None
|