Chittrarasu commited on
Commit
f1d9c38
·
1 Parent(s): 8a14cfe
Files changed (1) hide show
  1. services/embedding.py +1 -1
services/embedding.py CHANGED
@@ -11,7 +11,7 @@ os.environ["TRANSFORMERS_CACHE"] = "/app/cache"
11
  os.environ["HF_HOME"] = "/app/cache"
12
 
13
  # Load model with custom cache directory
14
- model = SentenceTransformer("clip-ViT-B-32", cache_dir="/app/cache")
15
 
16
  def get_text_embedding(text: str) -> Optional[List[float]]:
17
  try:
 
11
  os.environ["HF_HOME"] = "/app/cache"
12
 
13
  # Load model with custom cache directory
14
+ model = SentenceTransformer("clip-ViT-B-32")
15
 
16
  def get_text_embedding(text: str) -> Optional[List[float]]:
17
  try: