NanobotzAI commited on
Commit
b74d72a
·
verified ·
1 Parent(s): 36d639a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ class ChatConfig:
17
  DEFAULT_TOP_P = 0.95
18
 
19
  client = InferenceClient(ChatConfig.MODEL)
20
- embed_model = SentenceTransformer("all-MiniLM-L6-v2") # Lightweight embedding model
21
  vector_dim = 384 # Embedding size
22
  index = faiss.IndexFlatL2(vector_dim) # FAISS index
23
 
 
17
  DEFAULT_TOP_P = 0.95
18
 
19
  client = InferenceClient(ChatConfig.MODEL)
20
+ embed_model = SentenceTransformer("all-MiniLM-L6-v2", cache_folder="/tmp")
21
  vector_dim = 384 # Embedding size
22
  index = faiss.IndexFlatL2(vector_dim) # FAISS index
23