Update utils.py
Browse files
utils.py
CHANGED
@@ -350,7 +350,7 @@ def document_loading_splitting():
|
|
350 |
splits = text_splitter.split_documents(preprocessed_docs)
|
351 |
print("Splits...........................")
|
352 |
for split in splits:
|
353 |
-
if '
|
354 |
print("DIVIS found in chunk:", split)
|
355 |
return splits
|
356 |
|
|
|
350 |
splits = text_splitter.split_documents(preprocessed_docs)
|
351 |
print("Splits...........................")
|
352 |
for split in splits:
|
353 |
+
if 'divis' in split.page_content:
|
354 |
print("DIVIS found in chunk:", split)
|
355 |
return splits
|
356 |
|