Update utils.py
Browse files
utils.py
CHANGED
@@ -326,7 +326,7 @@ def document_loading_splitting():
|
|
326 |
|
327 |
# kreiere einen DirectoryLoader für jeden file type
|
328 |
pdf_loader = create_directory_loader('.pdf', CHROMA_PDF)
|
329 |
-
word_loader = create_directory_loader('.word', CHROMA_WORD)
|
330 |
print("PDF Loader done............................")
|
331 |
|
332 |
# Load the files
|
@@ -336,7 +336,7 @@ def document_loading_splitting():
|
|
336 |
#alle zusammen in docs...
|
337 |
docs.extend(pdf_documents)
|
338 |
docs.extend(word_documents)
|
339 |
-
|
340 |
#andere loader...
|
341 |
# Load PDF
|
342 |
#loader = PyPDFLoader(PDF_URL)
|
|
|
326 |
|
327 |
# kreiere einen DirectoryLoader für jeden file type
|
328 |
pdf_loader = create_directory_loader('.pdf', CHROMA_PDF)
|
329 |
+
#word_loader = create_directory_loader('.word', CHROMA_WORD)
|
330 |
print("PDF Loader done............................")
|
331 |
|
332 |
# Load the files
|
|
|
336 |
#alle zusammen in docs...
|
337 |
docs.extend(pdf_documents)
|
338 |
docs.extend(word_documents)
|
339 |
+
print("docs???..........."+str(docs))
|
340 |
#andere loader...
|
341 |
# Load PDF
|
342 |
#loader = PyPDFLoader(PDF_URL)
|