test(test_whisper.py): fix test

This commit is contained in:
Krrish Dholakia 2024-03-08 14:02:34 -08:00
parent 6b1049217e
commit 6fa585d001

View file

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