Spaces:
Sleeping
Sleeping
FridayMaster
commited on
Commit
•
5b8b2f7
1
Parent(s):
73118ee
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def chunk_text(text, chunk_size=500): # Larger chunks
|
|
31 |
manual_chunks = chunk_text(full_text, chunk_size=500)
|
32 |
|
33 |
# Load your FAISS index
|
34 |
-
index = faiss.read_index("
|
35 |
|
36 |
# Load your embedding model
|
37 |
embedding_model = SentenceTransformer('FridayMaster/fine_tune_embedding')
|
|
|
31 |
manual_chunks = chunk_text(full_text, chunk_size=500)
|
32 |
|
33 |
# Load your FAISS index
|
34 |
+
index = faiss.read_index("manual_chunked_faiss_index_500.bin")
|
35 |
|
36 |
# Load your embedding model
|
37 |
embedding_model = SentenceTransformer('FridayMaster/fine_tune_embedding')
|