Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,8 +54,8 @@ def initialize():
|
|
54 |
code_texts, code_references = extract_repo_files(DATA_DIR, ['kadi_apy'], [])
|
55 |
doc_texts, doc_references = extract_repo_files(DATA_DIR, ['docs'], [])
|
56 |
|
57 |
-
print("
|
58 |
-
print("
|
59 |
|
60 |
code_chunks = chunk_pythoncode_and_add_metadata(code_texts, code_references)
|
61 |
doc_chunks = chunk_text_and_add_metadata(doc_texts, doc_references, CHUNK_SIZE, CHUNK_OVERLAP)
|
|
|
54 |
code_texts, code_references = extract_repo_files(DATA_DIR, ['kadi_apy'], [])
|
55 |
doc_texts, doc_references = extract_repo_files(DATA_DIR, ['docs'], [])
|
56 |
|
57 |
+
print("Length of code_texts: ", len(code_texts))
|
58 |
+
print("Length of doc_files: ", len(doc_texts))
|
59 |
|
60 |
code_chunks = chunk_pythoncode_and_add_metadata(code_texts, code_references)
|
61 |
doc_chunks = chunk_text_and_add_metadata(doc_texts, doc_references, CHUNK_SIZE, CHUNK_OVERLAP)
|