We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d7233 commit cb74ff8Copy full SHA for cb74ff8
vlmeval/smp/misc.py
@@ -155,7 +155,7 @@ def load_env():
155
warnings.warn('VLMEval is not installed. Failed to import environment variables from .env file. ')
156
return
157
pth = osp.realpath(vlmeval.__path__[0])
158
- pth = osp.join('../.env')
+ pth = osp.join(pth, '../.env')
159
pth = osp.realpath(pth)
160
if not osp.exists(pth):
161
warnings.warn(f'Did not detect the .env file at {pth}, failed to load. ')
0 commit comments