diff --git a/tests/test_whisper.py b/tests/test_whisper.py index 9090f42d6..78e885ad3 100644 --- a/tests/test_whisper.py +++ b/tests/test_whisper.py @@ -8,7 +8,8 @@ import sys, os, dotenv from typing import Optional from dotenv import load_dotenv -pwd = os.getcwd() +# Get the current directory of the file being run +pwd = os.path.dirname(os.path.realpath(__file__)) print(pwd) file_path = os.path.join(pwd, "gettysburg.wav")