michaelfeil commited on
Commit
2624c54
·
1 Parent(s): 2f34495

sawp cache dir

Browse files
Files changed (1) hide show
  1. search.py +2 -2
search.py CHANGED
@@ -4,8 +4,8 @@ from usearch.index import Index, Matches
4
  import asyncio
5
  import pandas as pd
6
  import os
7
- os.environ["HF_HOME"] = "/tmp/cache"
8
- os.environ["TRANSFORMERS_CACHE"] = "/tmp/cache"
9
  os.environ["INFINITY_QUEUE_SIZE"] = "512000"
10
 
11
  engine = AsyncEmbeddingEngine.from_args(
 
4
  import asyncio
5
  import pandas as pd
6
  import os
7
+ os.environ["HF_HOME"] = "/app"
8
+ os.environ["TRANSFORMERS_CACHE"] = "/app"
9
  os.environ["INFINITY_QUEUE_SIZE"] = "512000"
10
 
11
  engine = AsyncEmbeddingEngine.from_args(