Spaces:
Sleeping
Sleeping
Update chunk_python_code.py
Browse files- chunk_python_code.py +1 -1
chunk_python_code.py
CHANGED
@@ -92,7 +92,7 @@ def _chunk_import_only_python_code(python_code, file_path):
|
|
92 |
def _handle_notdefined_case(python_code):
|
93 |
documents = []
|
94 |
documents.extend(
|
95 |
-
|
96 |
return documents
|
97 |
|
98 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
|
|
92 |
def _handle_notdefined_case(python_code):
|
93 |
documents = []
|
94 |
documents.extend(
|
95 |
+
_chunk_python_code_by_character)
|
96 |
return documents
|
97 |
|
98 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|