sengzi commited on
Commit
41c45dd
1 Parent(s): 81560a4

Update Sejarah.py

Browse files
Files changed (1) hide show
  1. Sejarah.py +1 -1
Sejarah.py CHANGED
@@ -28,7 +28,7 @@ class Sejarah:
28
  indexing_pipeline.add_node(component=preprocessor, name="PreProcessor", inputs=["TextConverter"])
29
  indexing_pipeline.add_node(component=document_store, name="DocumentStore", inputs=["PreProcessor"])
30
 
31
- dir = "/content/drive/Shareddrives/Natural Language Processing/Dataset/txt files"
32
 
33
  files_to_index = [dir+"/" + f for f in os.listdir(dir)]
34
  indexing_pipeline.run_batch(file_paths=files_to_index)
 
28
  indexing_pipeline.add_node(component=preprocessor, name="PreProcessor", inputs=["TextConverter"])
29
  indexing_pipeline.add_node(component=document_store, name="DocumentStore", inputs=["PreProcessor"])
30
 
31
+ dir = "documents"
32
 
33
  files_to_index = [dir+"/" + f for f in os.listdir(dir)]
34
  indexing_pipeline.run_batch(file_paths=files_to_index)