diff --git a/tests/test_whisper.py b/tests/test_whisper.py index 9d8f038c2..9090f42d6 100644 --- a/tests/test_whisper.py +++ b/tests/test_whisper.py @@ -8,7 +8,11 @@ import sys, os, dotenv from typing import Optional from dotenv import load_dotenv -audio_file = open("./gettysburg.wav", "rb") +pwd = os.getcwd() +print(pwd) + +file_path = os.path.join(pwd, "gettysburg.wav") +audio_file = open(file_path, "rb") load_dotenv()