Spaces:
Sleeping
Sleeping
soyleyicicem
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -294,11 +294,11 @@ def chat(question, manual, history, liked):
|
|
294 |
documents = []
|
295 |
for i in arg_list:
|
296 |
documents.append(get_section_content(str(i['section_title']), str(i['sub_section_title']), str(i['sub_sub_section_title']), content_path=path))
|
297 |
-
print(
|
|
|
298 |
documents_db = retriever.invoke(question)
|
299 |
-
print(1)
|
300 |
documents.append(documents_db)
|
301 |
-
|
302 |
print("Retriever:--- %s seconds ---" % (time.time() - start_time))
|
303 |
|
304 |
start_time = time.time()
|
|
|
294 |
documents = []
|
295 |
for i in arg_list:
|
296 |
documents.append(get_section_content(str(i['section_title']), str(i['sub_section_title']), str(i['sub_sub_section_title']), content_path=path))
|
297 |
+
print(question)
|
298 |
+
print(retriever)
|
299 |
documents_db = retriever.invoke(question)
|
|
|
300 |
documents.append(documents_db)
|
301 |
+
|
302 |
print("Retriever:--- %s seconds ---" % (time.time() - start_time))
|
303 |
|
304 |
start_time = time.time()
|