drguilhermeapolinario commited on
Commit
e5ed6d2
·
verified ·
1 Parent(s): 43c40cf

Update views/rag_med.py

Browse files
Files changed (1) hide show
  1. 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 = "scr/faiss/chunks .json"
43
- embeddings_file = "scr/faiss/embeddings.npy"
44
- index_file = "scr/faiss/faiss_index.index"
45
- text_chunks_file = "scr/faiss/text_chunks.npy"
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)