vhr1007 commited on
Commit
4803e02
·
1 Parent(s): 1c0f87b
Files changed (1) hide show
  1. app.py +1 -1
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}")