Manoj21k commited on
Commit
5a08de1
1 Parent(s): 405d7a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -4,9 +4,6 @@ from tempfile import NamedTemporaryFile
4
  from langchain.document_loaders import PyPDFLoader
5
  from langchain.embeddings import HuggingFaceEmbeddings
6
  from langchain.vectorstores import Chroma
7
- from langchain.llms import GPT4All
8
- from langchain.chains.question_answering import load_qa_chain
9
- from langchain import PromptTemplate, LLMChain
10
  from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
11
 
12
  # Function to save the uploaded PDF to a temporary file
 
4
  from langchain.document_loaders import PyPDFLoader
5
  from langchain.embeddings import HuggingFaceEmbeddings
6
  from langchain.vectorstores import Chroma
 
 
 
7
  from transformers import AutoModelForQuestionAnswering, AutoTokenizer, pipeline
8
 
9
  # Function to save the uploaded PDF to a temporary file