From 4bc14736b08ad33f759d35c7813a3b872679c8a4 Mon Sep 17 00:00:00 2001 From: Spiros Maggioros Date: Wed, 9 Oct 2024 14:16:35 +0300 Subject: [PATCH] Try to make it local --- DLICV/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DLICV/__main__.py b/DLICV/__main__.py index 7acc7a7..ab6456b 100644 --- a/DLICV/__main__.py +++ b/DLICV/__main__.py @@ -23,7 +23,7 @@ def main() -> None: usage = """ DLICV v{VERSION} ICV calculation for structural MRI data. - + Required arguments: [-i, --in_dir] The filepath of the input directory [-o, --out_dir] The filepath of the output directory @@ -256,7 +256,7 @@ def main() -> None: from huggingface_hub import snapshot_download # local_src = Path(__file__).parent - snapshot_download(repo_id="nichart/DLICV", local_dir=local_src) + snapshot_download(repo_id="nichart/DLICV") print("DLICV model has been successfully downloaded!") else: print("Loading the model...")