Skip to content

Commit

Permalink
fix: simplify dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm committed Dec 4, 2024
1 parent 5beeb00 commit 048a562
Show file tree
Hide file tree
Showing 3 changed files with 170 additions and 164 deletions.
4 changes: 0 additions & 4 deletions deepsearch_glm/utils/common.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import os

from dotenv import load_dotenv


def get_scratch_dir():
"""Get scratch directory from environment variable `DEEPSEARCH_GLM_SCRATCH_DIR` (defined in .env)"""

load_dotenv()

tmpdir = os.path.abspath(os.getenv("DEEPSEARCH_GLM_SCRATCH_DIR"))

if not os.path.exists(tmpdir):
Expand Down
Loading

0 comments on commit 048a562

Please sign in to comment.