michaelfeil
commited on
Commit
·
2f34495
1
Parent(s):
11ac6f7
update env variables
Browse files
search.py
CHANGED
@@ -3,6 +3,10 @@ import numpy as np
|
|
3 |
from usearch.index import Index, Matches
|
4 |
import asyncio
|
5 |
import pandas as pd
|
|
|
|
|
|
|
|
|
6 |
|
7 |
engine = AsyncEmbeddingEngine.from_args(
|
8 |
EngineArgs(
|
|
|
3 |
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(
|
12 |
EngineArgs(
|