forked from phoenix/litellm-mirror
test(test_whisper.py): fix getting path for audio file in test
This commit is contained in:
parent
6fa585d001
commit
9274245a0b
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ import sys, os, dotenv
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
from dotenv import load_dotenv
|
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)
|
print(pwd)
|
||||||
|
|
||||||
file_path = os.path.join(pwd, "gettysburg.wav")
|
file_path = os.path.join(pwd, "gettysburg.wav")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue