bupa1018 commited on
Commit
5d8fe74
·
1 Parent(s): e0fbd25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -240,8 +240,8 @@ def rag_workflow(query):
240
  def initialize():
241
  global vectorstore, chunks, llm
242
 
243
- partial_paths = ['docs/source/setup/', 'kadi_apy/lib/','docs/source/usage/']
244
- file_paths = []
245
  all_texts, file_references = process_directory(REPOSITORY_DIRECTORY, partial_paths, file_paths)
246
  chunks = split_into_chunks(all_texts, file_references, 512, 0)
247
  print(f"Total number of chunks: {len(chunks)}")
 
240
  def initialize():
241
  global vectorstore, chunks, llm
242
 
243
+ partial_paths = ['docs/source/setup/', 'kadi_apy/lib/']
244
+ file_paths = ['docs/source/usage/lib.rst']
245
  all_texts, file_references = process_directory(REPOSITORY_DIRECTORY, partial_paths, file_paths)
246
  chunks = split_into_chunks(all_texts, file_references, 512, 0)
247
  print(f"Total number of chunks: {len(chunks)}")