DrishtiSharma commited on
Commit
2fc3cdf
·
verified ·
1 Parent(s): 64276e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,8 +85,8 @@ class DocumentRAG:
85
  )
86
  documents = text_splitter.split_documents(documents)
87
 
88
- # Combine text for later summary generation
89
- self.document_text = " ".join([doc.page_content for doc in documents]) # Store for later use
90
 
91
 
92
  # Create embeddings and initialize retrieval chain
 
85
  )
86
  documents = text_splitter.split_documents(documents)
87
 
88
+ # Combine text for later summary generation
89
+ self.document_text = " ".join([doc.page_content for doc in documents]) # Store for later use
90
 
91
 
92
  # Create embeddings and initialize retrieval chain