chalisesagun commited on
Commit
781b51d
·
verified ·
1 Parent(s): 0312573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  import tempfile
3
  import streamlit as st
4
  from langchain_community.document_loaders import PyPDFLoader
5
- from langchain_community.text_splitter import RecursiveCharacterTextSplitter
6
  from langchain_community.embeddings import HuggingFaceEmbeddings
7
  from langchain_community.vectorstores import FAISS
8
  from langchain_community.chains import RetrievalQA
 
2
  import tempfile
3
  import streamlit as st
4
  from langchain_community.document_loaders import PyPDFLoader
5
+ from langchain.text_splitter import RecursiveCharacterTextSplitter # Correct import
6
  from langchain_community.embeddings import HuggingFaceEmbeddings
7
  from langchain_community.vectorstores import FAISS
8
  from langchain_community.chains import RetrievalQA