Spaces:
Runtime error
Runtime error
Yameogo123
commited on
Commit
•
196244e
1
Parent(s):
ad1da67
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,7 @@ app.add_middleware(
|
|
30 |
allow_headers=["*"],
|
31 |
)
|
32 |
|
|
|
33 |
|
34 |
embeddings_model = HuggingFaceEmbeddings(model_name="all-MiniLM-L12-v2")
|
35 |
persist_directory = "chroma"
|
|
|
30 |
allow_headers=["*"],
|
31 |
)
|
32 |
|
33 |
+
os.environ['SENTENCE_TRANSFORMERS_HOME'] = './.cache'
|
34 |
|
35 |
embeddings_model = HuggingFaceEmbeddings(model_name="all-MiniLM-L12-v2")
|
36 |
persist_directory = "chroma"
|