Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,8 @@ subprocess.check_call([
|
|
| 8 |
"streamlit",
|
| 9 |
"huggingface_hub",
|
| 10 |
"faiss-cpu",
|
| 11 |
-
"langchain-together"
|
|
|
|
| 12 |
])
|
| 13 |
|
| 14 |
import time
|
|
@@ -69,7 +70,6 @@ embeddings = load_embeddings()
|
|
| 69 |
db = FAISS.load_local("ipc_embed_db", embeddings, allow_dangerous_deserialization=True)
|
| 70 |
db_retriever = db.as_retriever(search_type="similarity", search_kwargs={"k": 3})
|
| 71 |
|
| 72 |
-
# Rest of the code remains the same
|
| 73 |
|
| 74 |
# Rest of the code remains the same
|
| 75 |
|
|
|
|
| 8 |
"streamlit",
|
| 9 |
"huggingface_hub",
|
| 10 |
"faiss-cpu",
|
| 11 |
+
"langchain-together",
|
| 12 |
+
"sentence-transformers"
|
| 13 |
])
|
| 14 |
|
| 15 |
import time
|
|
|
|
| 70 |
db = FAISS.load_local("ipc_embed_db", embeddings, allow_dangerous_deserialization=True)
|
| 71 |
db_retriever = db.as_retriever(search_type="similarity", search_kwargs={"k": 3})
|
| 72 |
|
|
|
|
| 73 |
|
| 74 |
# Rest of the code remains the same
|
| 75 |
|