Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def get_text_embedding(text):
|
|
62 |
|
63 |
doc_path = "docs"
|
64 |
|
65 |
-
hf_hub_download(repo_id="xavierbarbier/rag_ngap", filename="resource/NGAP 01042024.pdf", local_dir=doc_path, local_dir_use_symlinks=False)
|
66 |
|
67 |
reader = PdfReader( doc_path + "/" + "NGAP 01042024.pdf")
|
68 |
|
|
|
62 |
|
63 |
doc_path = "docs"
|
64 |
|
65 |
+
hf_hub_download(repo_id="xavierbarbier/rag_ngap", filename="resource/NGAP 01042024.pdf", local_dir=doc_path, local_dir_use_symlinks=False, repo_type="space")
|
66 |
|
67 |
reader = PdfReader( doc_path + "/" + "NGAP 01042024.pdf")
|
68 |
|