Skip to content

Commit

Permalink
update openssa.l2.resource.file.FileResource
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVinhLuong102 committed Mar 15, 2024
1 parent 296f381 commit f64e145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssa/l2/resource/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __post_init__(self, re_index: bool):
self.path: Path = self.path.resolve(strict=True)
self.str_path: DirOrFileStrPath = str(self.path)
else:
self.str_path = self.path = self.path.lstrip().rstrip('/\\')
self.str_path = self.path = os.path.abspath(path=self.path.lstrip().rstrip('/\\'))

self.embed_model_name: str = self.embed_model.model_name

Expand Down

0 comments on commit f64e145

Please sign in to comment.