Spaces:
Sleeping
Sleeping
Update rag_chain.py
Browse files- rag_chain.py +1 -1
rag_chain.py
CHANGED
@@ -22,7 +22,7 @@ os.environ["HUGGINGFACEHUB_API_TOKEN"] = hf_token
|
|
22 |
os.environ["OPENAI_API_KEY"] = openai_token
|
23 |
|
24 |
# Hugging Face Embeddings
|
25 |
-
os.environ['HF_HOME'] = '
|
26 |
embedding = HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L6-v2')
|
27 |
|
28 |
# OpenRouter LLM (Meta LLaMA 3.3)
|
|
|
22 |
os.environ["OPENAI_API_KEY"] = openai_token
|
23 |
|
24 |
# Hugging Face Embeddings
|
25 |
+
os.environ['HF_HOME'] = 'Embedding Models'
|
26 |
embedding = HuggingFaceEmbeddings(model_name='sentence-transformers/all-MiniLM-L6-v2')
|
27 |
|
28 |
# OpenRouter LLM (Meta LLaMA 3.3)
|