MrSimple07 commited on
Commit
971a03e
·
verified ·
1 Parent(s): 967a35c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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"