rtabrizi commited on
Commit
433ca33
1 Parent(s): 88ee5e1

removed unnecessary imports

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -5,11 +5,9 @@ import faiss
5
  import PyPDF2
6
  import os
7
 
8
- from transformers import BertTokenizer, BertModel
9
  from transformers import DPRContextEncoder, DPRContextEncoderTokenizer, DPRQuestionEncoder, DPRQuestionEncoderTokenizer, BartForQuestionAnswering
10
  from transformers import BartForConditionalGeneration, BartTokenizer, AutoTokenizer
11
 
12
- from langchain.embeddings import HuggingFaceEmbeddings
13
  from langchain import text_splitter
14
  from langchain.text_splitter import RecursiveCharacterTextSplitter
15
  from langchain.document_loaders import PyPDFLoader
 
5
  import PyPDF2
6
  import os
7
 
 
8
  from transformers import DPRContextEncoder, DPRContextEncoderTokenizer, DPRQuestionEncoder, DPRQuestionEncoderTokenizer, BartForQuestionAnswering
9
  from transformers import BartForConditionalGeneration, BartTokenizer, AutoTokenizer
10
 
 
11
  from langchain import text_splitter
12
  from langchain.text_splitter import RecursiveCharacterTextSplitter
13
  from langchain.document_loaders import PyPDFLoader