Spaces:
Sleeping
Sleeping
fix: faiss
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def fetch_arxiv_papers(query, max_results=5):
|
|
24 |
return papers
|
25 |
|
26 |
# Load FAISS index
|
27 |
-
def load_faiss_index(index_file="
|
28 |
return faiss.read_index(index_file)
|
29 |
|
30 |
# RAG Pipeline
|
|
|
24 |
return papers
|
25 |
|
26 |
# Load FAISS index
|
27 |
+
def load_faiss_index(index_file="faiss.index"):
|
28 |
return faiss.read_index(index_file)
|
29 |
|
30 |
# RAG Pipeline
|