Update app.py
Browse files
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="
|
31 |
-
file = open("
|
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"
|