Skip to content

Commit cb74ff8

Browse files
update
1 parent 54d7233 commit cb74ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vlmeval/smp/misc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def load_env():
155155
warnings.warn('VLMEval is not installed. Failed to import environment variables from .env file. ')
156156
return
157157
pth = osp.realpath(vlmeval.__path__[0])
158-
pth = osp.join('../.env')
158+
pth = osp.join(pth, '../.env')
159159
pth = osp.realpath(pth)
160160
if not osp.exists(pth):
161161
warnings.warn(f'Did not detect the .env file at {pth}, failed to load. ')

0 commit comments

Comments
 (0)