Renames FOLDER to SRC_DIR

This commit is contained in:
Toran Bruce Richards
2023-04-04 10:00:53 +01:00
committed by GitHub
parent 4c66cd6f4a
commit 6d86444b6f

View File

@@ -6,7 +6,7 @@ SRC_DIR = Path(__file__).parent
def load_prompt():
try:
# Load the promt from data/prompt.txt
with open(FOLDER / "data/prompt.txt", "r") as prompt_file:
with open(SRC_DIR/ "data/prompt.txt", "r") as prompt_file:
prompt = prompt_file.read()
return prompt