Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|