Spaces:
Running
Running
Update views/rag_med.py
Browse files- views/rag_med.py +4 -4
views/rag_med.py
CHANGED
@@ -39,10 +39,10 @@ with st.sidebar:
|
|
39 |
model = SentenceTransformer("all-MiniLM-L6-v2")
|
40 |
|
41 |
# índice FAISS
|
42 |
-
json_file = "
|
43 |
-
embeddings_file = "
|
44 |
-
index_file = "
|
45 |
-
text_chunks_file = "
|
46 |
|
47 |
with open(json_file, "r") as file:
|
48 |
chunks = json.load(file)
|
|
|
39 |
model = SentenceTransformer("all-MiniLM-L6-v2")
|
40 |
|
41 |
# índice FAISS
|
42 |
+
json_file = "src/faiss/chunks.json"
|
43 |
+
embeddings_file = "src/faiss/embeddings.npy"
|
44 |
+
index_file = "src/faiss/faiss_index.index"
|
45 |
+
text_chunks_file = "src/faiss/text_chunks.npy"
|
46 |
|
47 |
with open(json_file, "r") as file:
|
48 |
chunks = json.load(file)
|