Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -197,8 +197,8 @@ def document_loading_splitting():
|
|
197 |
docs = []
|
198 |
|
199 |
# kreiere einen DirectoryLoader für jeden file type
|
200 |
-
pdf_loader = create_directory_loader('.pdf',
|
201 |
-
word_loader = create_directory_loader('.word',
|
202 |
|
203 |
|
204 |
# Load the files
|
|
|
197 |
docs = []
|
198 |
|
199 |
# kreiere einen DirectoryLoader für jeden file type
|
200 |
+
pdf_loader = create_directory_loader('.pdf', CHROMA_PDF)
|
201 |
+
word_loader = create_directory_loader('.word', CHROMA_WORD)
|
202 |
|
203 |
|
204 |
# Load the files
|