Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ MODEL_DIR = os.path.join("/tmp", "e5-large-v2")
|
|
| 37 |
|
| 38 |
if not os.path.exists(MODEL_DIR):
|
| 39 |
print("📦 Downloading SentenceTransformer model...")
|
| 40 |
-
model = SentenceTransformer("
|
| 41 |
model.save(MODEL_DIR)
|
| 42 |
print("✅ Model saved at", MODEL_DIR)
|
| 43 |
|
|
|
|
| 37 |
|
| 38 |
if not os.path.exists(MODEL_DIR):
|
| 39 |
print("📦 Downloading SentenceTransformer model...")
|
| 40 |
+
model = SentenceTransformer("intfloat/e5-large-v2")
|
| 41 |
model.save(MODEL_DIR)
|
| 42 |
print("✅ Model saved at", MODEL_DIR)
|
| 43 |
|