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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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(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()
 
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()