Spaces:
Runtime error
Runtime error
Update model_pipelineV2.py
Browse files- model_pipelineV2.py +1 -0
model_pipelineV2.py
CHANGED
@@ -19,6 +19,7 @@ class ModelPipeLine:
|
|
19 |
def __init__(self):
|
20 |
self.curr_dir = os.path.dirname(__file__)
|
21 |
self.knowledge_dir = os.path.dirname('knowledge')
|
|
|
22 |
self.prompt_dir = os.path.dirname('prompts')
|
23 |
self.child_splitter = RecursiveCharacterTextSplitter(chunk_size=200)
|
24 |
self.parent_splitter = RecursiveCharacterTextSplitter(chunk_size=500)
|
|
|
19 |
def __init__(self):
|
20 |
self.curr_dir = os.path.dirname(__file__)
|
21 |
self.knowledge_dir = os.path.dirname('knowledge')
|
22 |
+
print("Knowledge Directory:", self.knowledge_dir)
|
23 |
self.prompt_dir = os.path.dirname('prompts')
|
24 |
self.child_splitter = RecursiveCharacterTextSplitter(chunk_size=200)
|
25 |
self.parent_splitter = RecursiveCharacterTextSplitter(chunk_size=500)
|