Spaces:
Running
Running
Commit
·
1f4d4a1
1
Parent(s):
2fed831
Migrate debug
Browse files- download_model.py +1 -0
download_model.py
CHANGED
@@ -8,6 +8,7 @@ MODEL_CACHE_DIR = "/app/model_cache"
|
|
8 |
|
9 |
print("⏳ Downloading the SentenceTransformer model...")
|
10 |
model_path = snapshot_download(repo_id=MODEL_REPO, cache_dir=MODEL_CACHE_DIR)
|
|
|
11 |
|
12 |
# Find the correct snapshot directory
|
13 |
snapshots_dir = os.path.join(model_path, "snapshots") # snapshot
|
|
|
8 |
|
9 |
print("⏳ Downloading the SentenceTransformer model...")
|
10 |
model_path = snapshot_download(repo_id=MODEL_REPO, cache_dir=MODEL_CACHE_DIR)
|
11 |
+
print("Model path now: ", model_path)
|
12 |
|
13 |
# Find the correct snapshot directory
|
14 |
snapshots_dir = os.path.join(model_path, "snapshots") # snapshot
|