test(test_whisper.py): fix getting path for audio file in test

This commit is contained in:
Krrish Dholakia 2024-03-08 14:10:19 -08:00
parent 6fa585d001
commit 9274245a0b

View file

@ -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")