VinitT commited on
Commit
d6ff276
·
verified ·
1 Parent(s): ea75426

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -47,9 +47,10 @@ llm = ChatGroq(
47
  model_name="mixtral-8x7b-32768"
48
  )
49
 
50
- # Initialize embeddings
51
  embeddings_model = HuggingFaceEmbeddings(
52
- model_name="sentence-transformers/all-MiniLM-L6-v2"
 
53
  )
54
 
55
  # Constants
 
47
  model_name="mixtral-8x7b-32768"
48
  )
49
 
50
+ # Initialize embeddings with proper cache directory
51
  embeddings_model = HuggingFaceEmbeddings(
52
+ model_name="sentence-transformers/all-MiniLM-L6-v2",
53
+ cache_folder="/code/.cache/huggingface"
54
  )
55
 
56
  # Constants