Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -338,7 +338,7 @@ def initialize():
|
|
338 |
doc_files, doc_file_references = process_directory(REPOSITORY_DIRECTORY, doc_partial_paths, doc_file_paths)
|
339 |
|
340 |
code_chunks = split_pythoncode_into_chunks(code_files, code_file_references, 1500, 0)
|
341 |
-
doc_chunks = split_into_chunks(doc_files, doc_file_references,
|
342 |
|
343 |
print(f"Total number of code_chunks: {len(code_chunks)}")
|
344 |
print(f"Total number of doc_chunks: {len(doc_chunks)}")
|
|
|
338 |
doc_files, doc_file_references = process_directory(REPOSITORY_DIRECTORY, doc_partial_paths, doc_file_paths)
|
339 |
|
340 |
code_chunks = split_pythoncode_into_chunks(code_files, code_file_references, 1500, 0)
|
341 |
+
doc_chunks = split_into_chunks(doc_files, doc_file_references, CHUNK_SIZE, CHUNK_OVERLAP)
|
342 |
|
343 |
print(f"Total number of code_chunks: {len(code_chunks)}")
|
344 |
print(f"Total number of doc_chunks: {len(doc_chunks)}")
|