mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
🐛 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:
@@ -102,7 +102,7 @@ curs_premium.execute(
|
||||
)
|
||||
|
||||
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",
|
||||
encoding="utf-8",
|
||||
) as file:
|
||||
|
||||
Reference in New Issue
Block a user