SiraH commited on
Commit
6fbbd3e
1 Parent(s): 559a5f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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",