Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -239,8 +239,8 @@ def main():
|
|
239 |
st.write(sp_docs)
|
240 |
sp_docs_list.extend(sp_docs)
|
241 |
|
242 |
-
st.write(sp_docs_list)
|
243 |
-
db = FAISS.from_documents(sp_docs_list, embeddings)
|
244 |
memory = ConversationBufferMemory(memory_key="chat_history",
|
245 |
return_messages=True,
|
246 |
input_key="query",
|
|
|
239 |
st.write(sp_docs)
|
240 |
sp_docs_list.extend(sp_docs)
|
241 |
|
242 |
+
st.write(sp_docs_list[0])
|
243 |
+
db = FAISS.from_documents(sp_docs_list[0], embeddings)
|
244 |
memory = ConversationBufferMemory(memory_key="chat_history",
|
245 |
return_messages=True,
|
246 |
input_key="query",
|