MrSimple07 commited on
Commit
638e3ed
·
verified ·
1 Parent(s): 12d1b89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -33,7 +33,8 @@ embeddings_path = hf_hub_download(
33
  )
34
 
35
  df = pd.read_csv(df_path)
36
- embeddings = np.load(embeddings_path)
 
37
 
38
  MISTRAL_API_KEY = "TeX7Cs30zMCAi0A90w4pGhPbOGrYzQkj"
39
  MISTRAL_API_URL = "https://api.mistral.ai/v1/chat/completions"
 
33
  )
34
 
35
  df = pd.read_csv(df_path)
36
+ embeddings = np.load(embeddings_path, mmap_mode='r')
37
+
38
 
39
  MISTRAL_API_KEY = "TeX7Cs30zMCAi0A90w4pGhPbOGrYzQkj"
40
  MISTRAL_API_URL = "https://api.mistral.ai/v1/chat/completions"