Skip to content

Commit

Permalink
Merge pull request #26 from alex2awesome/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
AmenRa authored Sep 5, 2023
2 parents 1a4e3ff + 6f9f099 commit 3939729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions retriv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

# Set environment variables ----------------------------------------------------
os.environ["TOKENIZERS_PARALLELISM"] = "false"
os.environ["RETRIV_BASE_PATH"] = str(Path.home() / ".retriv")

if "RETRIV_BASE_PATH" not in os.environ: # allow user to set a different path in .bash_profile
os.environ["RETRIV_BASE_PATH"] = str(Path.home() / ".retriv")

def set_base_path(path: str):
os.environ["RETRIV_BASE_PATH"] = path

0 comments on commit 3939729

Please sign in to comment.