Spaces:
Sleeping
Sleeping
fix: faiss
Browse files- app.py +1 -1
- faiss.index.py → faiss_index.index.py +0 -0
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.index"):
|
| 28 |
return faiss.read_index(index_file)
|
| 29 |
|
| 30 |
# RAG Pipeline
|
faiss.index.py → faiss_index.index.py
RENAMED
|
File without changes
|