mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16: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(
|
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user