Spaces:
Sleeping
Sleeping
Commit
·
7648566
1
Parent(s):
5b04c91
fixed paths
Browse files
prompts/prompts_manager.py
CHANGED
@@ -10,7 +10,7 @@ class PromptsManager:
|
|
10 |
|
11 |
if not work_categories:
|
12 |
self.work_categories = wc
|
13 |
-
base_path = Path(__file__)
|
14 |
with open(Path(base_path, "system_prompt.txt")) as sysprompt_file:
|
15 |
self.system_prompt: str = sysprompt_file.read()
|
16 |
with open(Path(base_path, "questions.txt")) as questions_file:
|
|
|
10 |
|
11 |
if not work_categories:
|
12 |
self.work_categories = wc
|
13 |
+
base_path = Path(__file__).parent
|
14 |
with open(Path(base_path, "system_prompt.txt")) as sysprompt_file:
|
15 |
self.system_prompt: str = sysprompt_file.read()
|
16 |
with open(Path(base_path, "questions.txt")) as questions_file:
|