Spaces:
Sleeping
Sleeping
Update app/main.py
Browse files- app/main.py +2 -0
app/main.py
CHANGED
@@ -15,6 +15,8 @@ from langchain_community.embeddings import HuggingFaceBgeEmbeddings
|
|
15 |
import nltk
|
16 |
import time
|
17 |
|
|
|
|
|
18 |
# Set up FastAPI app
|
19 |
app = FastAPI()
|
20 |
|
|
|
15 |
import nltk
|
16 |
import time
|
17 |
|
18 |
+
os.environ["TRANSFORMERS_CACHE"] = "/path/to/writable/cache"
|
19 |
+
|
20 |
# Set up FastAPI app
|
21 |
app = FastAPI()
|
22 |
|