Geraldine commited on
Commit
49a1926
1 Parent(s): a145be3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -27,8 +27,8 @@ with st.spinner('Loading datasets...'):
27
  hf_hub_download(repo_id="Geraldine/hal_univcotedazur_shs_articles_2013-2023",
28
  filename="hal_embeddings.pkl",
29
  repo_type="dataset",
30
- cache_dir="embeddings", local_dir="embeddings")
31
- file = open("data/hal_embeddings.pkl",'rb')
32
  corpus_embeddings = pickle.load(file)
33
 
34
  model_id = "sentence-transformers/all-MiniLM-L6-v2"
 
27
  hf_hub_download(repo_id="Geraldine/hal_univcotedazur_shs_articles_2013-2023",
28
  filename="hal_embeddings.pkl",
29
  repo_type="dataset",
30
+ cache_dir="./", local_dir="./")
31
+ file = open("./hal_embeddings.pkl",'rb')
32
  corpus_embeddings = pickle.load(file)
33
 
34
  model_id = "sentence-transformers/all-MiniLM-L6-v2"