bupa1018 commited on
Commit
c9b0086
·
1 Parent(s): a806d3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -345,7 +345,7 @@ def initialize():
345
  kadiAPY_doc_texts, kadiAPY_doc_text_references = process_directory(DATA_DIR, doc_partial_paths, doc_file_paths)
346
  print("LEEEEEEEEEEEENGTH of doc_files: ", len(kadiAPY_doc_texts))
347
 
348
- kadiAPY_code_chunks = split_python_code_into_chunks(code_texts, code_text_references)
349
  kadiAPY_doc_chunks = split_into_chunks(doc_file_texts, doc_file_references, CHUNK_SIZE, CHUNK_OVERLAP)
350
 
351
  print(f"Total number of code_chunks: {len(kadiAPY_code_chunks)}")
 
345
  kadiAPY_doc_texts, kadiAPY_doc_text_references = process_directory(DATA_DIR, doc_partial_paths, doc_file_paths)
346
  print("LEEEEEEEEEEEENGTH of doc_files: ", len(kadiAPY_doc_texts))
347
 
348
+ kadiAPY_code_chunks = split_python_code_into_chunks(kadiAPY_code_texts, kadiAPY_code_references)
349
  kadiAPY_doc_chunks = split_into_chunks(doc_file_texts, doc_file_references, CHUNK_SIZE, CHUNK_OVERLAP)
350
 
351
  print(f"Total number of code_chunks: {len(kadiAPY_code_chunks)}")