cjber commited on
Commit
347760a
·
1 Parent(s): d93d7eb

fix: remove not

Browse files
Files changed (1) hide show
  1. planning_ai/chains/themes_chain.py +1 -1
planning_ai/chains/themes_chain.py CHANGED
@@ -8,7 +8,7 @@ from planning_ai.common.utils import Paths
8
  from planning_ai.llms.llm import GPT4o
9
 
10
  # Read the chapter lines from the file
11
- if not (Paths.RAW / "chapters.txt").exists():
12
  with open(Paths.RAW / "chapters.txt", "r") as f:
13
  chapters = [line.strip() for line in f.readlines() if line.strip()]
14
  else:
 
8
  from planning_ai.llms.llm import GPT4o
9
 
10
  # Read the chapter lines from the file
11
+ if (Paths.RAW / "chapters.txt").exists():
12
  with open(Paths.RAW / "chapters.txt", "r") as f:
13
  chapters = [line.strip() for line in f.readlines() if line.strip()]
14
  else: