forked from phoenix/litellm-mirror
test(test_whisper.py): fix test
This commit is contained in:
parent
6b1049217e
commit
6fa585d001
1 changed files with 5 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue