Spaces:
Runtime error
Runtime error
Update modules/index_func.py
Browse files- modules/index_func.py +1 -0
modules/index_func.py
CHANGED
|
@@ -77,6 +77,7 @@ def get_documents(file_src):
|
|
| 77 |
texts = text_splitter.split_documents(texts)
|
| 78 |
documents.extend(texts)
|
| 79 |
logging.debug("Documents loaded.")
|
|
|
|
| 80 |
return documents
|
| 81 |
|
| 82 |
|
|
|
|
| 77 |
texts = text_splitter.split_documents(texts)
|
| 78 |
documents.extend(texts)
|
| 79 |
logging.debug("Documents loaded.")
|
| 80 |
+
logging.info(f"Document:{texts}")
|
| 81 |
return documents
|
| 82 |
|
| 83 |
|