Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ def main():
|
|
157 |
# get the text chunks
|
158 |
doc_splits = method_get_text_chunks(raw_text)
|
159 |
# create vector store
|
160 |
-
|
161 |
st.write(doc_splits)
|
162 |
retriever_chain = get_context_retriever_chain(vector_store)
|
163 |
# Generate response using the RAG pipeline
|
|
|
157 |
# get the text chunks
|
158 |
doc_splits = method_get_text_chunks(raw_text)
|
159 |
# create vector store
|
160 |
+
vector_store = method_get_vectorstore(doc_splits)
|
161 |
st.write(doc_splits)
|
162 |
retriever_chain = get_context_retriever_chain(vector_store)
|
163 |
# Generate response using the RAG pipeline
|