Spaces:
Sleeping
Sleeping
vhr1007
commited on
Commit
·
4803e02
1
Parent(s):
1c0f87b
bug
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ if not qdrant_url or not access_token:
|
|
43 |
|
44 |
# Initialize the SentenceTransformer model
|
45 |
try:
|
46 |
-
encoder = SentenceTransformer('nomic-ai/nomic-embed-text-v1.5')
|
47 |
logging.info("Successfully loaded the SentenceTransformer model.")
|
48 |
except Exception as e:
|
49 |
logging.error(f"Failed to load the SentenceTransformer model: {e}")
|
|
|
43 |
|
44 |
# Initialize the SentenceTransformer model
|
45 |
try:
|
46 |
+
encoder = SentenceTransformer('nomic-ai/nomic-embed-text-v1.5', trust_remote_code=True)
|
47 |
logging.info("Successfully loaded the SentenceTransformer model.")
|
48 |
except Exception as e:
|
49 |
logging.error(f"Failed to load the SentenceTransformer model: {e}")
|