jozzy commited on
Commit
bae7ef8
1 Parent(s): a96702e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def process_file(index_name, docs):
49
  split_text = splter.split_documents(docs)
50
 
51
  for document in split_text:
52
- Pinecone.from_documents([document], embeddings, index_name=index_name)
53
 
54
  return list_pinecone(index_name)
55
 
 
49
  split_text = splter.split_documents(docs)
50
 
51
  for document in split_text:
52
+ Pinecone.from_documents([document], embeddings, index_name=index_name)
53
 
54
  return list_pinecone(index_name)
55