bupa1018 commited on
Commit
4b20ff5
·
1 Parent(s): 22c0ecd

Update chunking.py

Browse files
Files changed (1) hide show
  1. chunking.py +1 -1
chunking.py CHANGED
@@ -55,7 +55,7 @@ def generate_code_chunks_with_metadata(code_file_content, code_files_path):
55
  documents = []
56
  #print(f"Processing file: {file_path}")
57
 
58
- _iterate_ast(code_file_content, documents, s)
59
  # Determine usage based on the file_path
60
  if file_path.startswith("kadi_apy/lib/"):
61
  usage = "kadi-apy python library"
 
55
  documents = []
56
  #print(f"Processing file: {file_path}")
57
 
58
+ _iterate_ast(code_file_content, documents, code_files_path)
59
  # Determine usage based on the file_path
60
  if file_path.startswith("kadi_apy/lib/"):
61
  usage = "kadi-apy python library"