Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -9,7 +9,8 @@ from langchain_community.vectorstores import FAISS
|
|
9 |
from langchain.chains import ConversationalRetrievalChain
|
10 |
|
11 |
DB_FAISS_PATH = 'vectorstore/db_faiss'
|
12 |
-
os.environ['
|
|
|
13 |
app = FastAPI()
|
14 |
|
15 |
@app.get('/')
|
|
|
9 |
from langchain.chains import ConversationalRetrievalChain
|
10 |
|
11 |
DB_FAISS_PATH = 'vectorstore/db_faiss'
|
12 |
+
os.environ['SENTENCE_TRANSFORMERS_HOME'] = './.cache'
|
13 |
+
|
14 |
app = FastAPI()
|
15 |
|
16 |
@app.get('/')
|