ryanrwatkins commited on
Commit
6f91104
1 Parent(s): eff14c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -6,24 +6,24 @@ import requests
6
  import csv
7
  import os
8
  import langchain
9
- import chromadb
10
- import glob
11
  import pickle
12
 
13
  import huggingface_hub
14
  from huggingface_hub import Repository
15
 
16
  from datetime import datetime
17
- from PyPDF2 import PdfReader
18
- from PyPDF2 import PdfWriter
19
- from langchain.embeddings.openai import OpenAIEmbeddings
20
- from langchain.text_splitter import CharacterTextSplitter
21
  from langchain.chains.question_answering import load_qa_chain
22
- from langchain.llms import OpenAI
23
- from langchain.embeddings.openai import OpenAIEmbeddings
24
- from langchain import OpenAI
25
- from langchain.chat_models import ChatOpenAI
26
- from langchain.document_loaders import PyPDFLoader
27
  from langchain.chains.question_answering import load_qa_chain
28
 
29
  from langchain_google_genai import ChatGoogleGenerativeAI
 
6
  import csv
7
  import os
8
  import langchain
9
+ #import chromadb
10
+ #import glob
11
  import pickle
12
 
13
  import huggingface_hub
14
  from huggingface_hub import Repository
15
 
16
  from datetime import datetime
17
+ #from PyPDF2 import PdfReader
18
+ #from PyPDF2 import PdfWriter
19
+ #from langchain.embeddings.openai import OpenAIEmbeddings
20
+ #from langchain.text_splitter import CharacterTextSplitter
21
  from langchain.chains.question_answering import load_qa_chain
22
+ #from langchain.llms import OpenAI
23
+ #from langchain.embeddings.openai import OpenAIEmbeddings
24
+ #from langchain import OpenAI
25
+ #from langchain.chat_models import ChatOpenAI
26
+ #from langchain.document_loaders import PyPDFLoader
27
  from langchain.chains.question_answering import load_qa_chain
28
 
29
  from langchain_google_genai import ChatGoogleGenerativeAI