arjunanand13 commited on
Commit
9947d0f
·
verified ·
1 Parent(s): 61d92b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ class DocumentRetrievalAndGeneration:
51
  def create_faiss_index(self):
52
  all_texts = [split.page_content for split in self.all_splits]
53
 
54
- batch_size = 32
55
  all_embeddings = []
56
 
57
  for i in range(0, len(all_texts), batch_size):
 
51
  def create_faiss_index(self):
52
  all_texts = [split.page_content for split in self.all_splits]
53
 
54
+ batch_size = 256
55
  all_embeddings = []
56
 
57
  for i in range(0, len(all_texts), batch_size):