🐛 fix(config.py): fix the path to the gpt-3.5-turbo.txt file by using os.path.join instead of os.path.abspath and os.path.dirname

This commit is contained in:
2023-08-15 11:10:12 +02:00
parent cc5fd3aa7a
commit 737db1aead

View File

@@ -102,7 +102,7 @@ curs_premium.execute(
) )
with open( with open(
os.path.abspath(os.path.dirname(__file__), "./prompts/gpt-3.5-turbo.txt"), os.path.abspath(os.path.join(os.path.dirname(__file__), "./prompts/gpt-3.5-turbo.txt")),
"r", "r",
encoding="utf-8", encoding="utf-8",
) as file: ) as file: