Ubai commited on
Commit
80f5e00
1 Parent(s): 72f6344

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  import os
3
  from langchain_community.document_loaders import PyPDFLoader # Corrected import
4
- from langchain_community.text_splitter import RecursiveCharacterTextSplitter # Corrected import
5
  from langchain_community.vectorstores import Chroma # Corrected import
6
  from langchain.chains import ConversationalRetrievalChain # Note: Not from "langchain_community"
7
  from langchain_community.embeddings import HuggingFaceEmbeddings # Corrected import
 
1
  import gradio as gr
2
  import os
3
  from langchain_community.document_loaders import PyPDFLoader # Corrected import
4
+ from langchain.text_splitter import RecursiveCharacterTextSplitter
5
  from langchain_community.vectorstores import Chroma # Corrected import
6
  from langchain.chains import ConversationalRetrievalChain # Note: Not from "langchain_community"
7
  from langchain_community.embeddings import HuggingFaceEmbeddings # Corrected import