Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,8 @@ embeddings_path = hf_hub_download(
|
|
| 32 |
)
|
| 33 |
|
| 34 |
df = pd.read_csv(df_path)
|
| 35 |
-
embeddings = np.load(embeddings_path)
|
|
|
|
| 36 |
|
| 37 |
MISTRAL_API_KEY = "TeX7Cs30zMCAi0A90w4pGhPbOGrYzQkj"
|
| 38 |
MISTRAL_API_URL = "https://api.mistral.ai/v1/chat/completions"
|
|
|
|
| 32 |
)
|
| 33 |
|
| 34 |
df = pd.read_csv(df_path)
|
| 35 |
+
embeddings = np.load(embeddings_path, mmap_mode='r')
|
| 36 |
+
|
| 37 |
|
| 38 |
MISTRAL_API_KEY = "TeX7Cs30zMCAi0A90w4pGhPbOGrYzQkj"
|
| 39 |
MISTRAL_API_URL = "https://api.mistral.ai/v1/chat/completions"
|