Renames FOLDER to SRC_DIR
parent
4c66cd6f4a
commit
6d86444b6f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue