soyleyicicem commited on
Commit
4c10b46
·
verified ·
1 Parent(s): 773d31d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -294,10 +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
-
298
  documents_db = retriever.invoke(question)
 
299
  documents.append(documents_db)
300
-
301
  print("Retriever:--- %s seconds ---" % (time.time() - start_time))
302
 
303
  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(documents)
298
  documents_db = retriever.invoke(question)
299
+ print(1)
300
  documents.append(documents_db)
301
+ print(2)
302
  print("Retriever:--- %s seconds ---" % (time.time() - start_time))
303
 
304
  start_time = time.time()