singhankur01 commited on
Commit
0b0de3e
·
verified ·
1 Parent(s): 701c12e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ from langchain.prompts import ChatPromptTemplate
32
  import os
33
  from sentence_transformers import SentenceTransformer
34
 
35
- MODEL_DIR = "models/all-MiniLM-L6-v2"
 
36
 
37
  if not os.path.exists(MODEL_DIR):
38
  print("📦 Downloading SentenceTransformer model...")
 
32
  import os
33
  from sentence_transformers import SentenceTransformer
34
 
35
+
36
+ MODEL_DIR = os.path.join("/tmp", "all-MiniLM-L6-v2")
37
 
38
  if not os.path.exists(MODEL_DIR):
39
  print("📦 Downloading SentenceTransformer model...")