From 737db1aeadba839616297c7601f96447094e9f20 Mon Sep 17 00:00:00 2001 From: Paillat Date: Tue, 15 Aug 2023 11:10:12 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(config.py):=20fix=20the=20pa?= =?UTF-8?q?th=20to=20the=20gpt-3.5-turbo.txt=20file=20by=20using=20os.path?= =?UTF-8?q?.join=20instead=20of=20os.path.abspath=20and=20os.path.dirname?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.py b/src/config.py index bd3ced2..911d7aa 100644 --- a/src/config.py +++ b/src/config.py @@ -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: