Spaces:
Runtime error
Runtime error
Update app.py
Browse files36 unmodified lines3738394041424336 unmodified linesdocuments = text_splitter.split_text(text=read_pdf())# Vectorize the documents and create vectorstoreembeddings = OpenAIEmbeddings(openai_api_key='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')vectorstore = FAISS.from_texts(documents, embedding=embeddings)st.session_state.processed_data = {36 unmodified lines3738394041424336 unmodified linesdocuments = text_splitter.split_text(text=read_pdf())# Vectorize the documents and create vectorstoreembeddings = OpenAIEmbeddings(openai_api_key='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')vectorstore = FAISS.from_texts(documents, embedding=embeddings)st.session_state.processed_data = {
app.py+1-1