Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,7 @@ from PyPDF2 import PdfReader
|
|
3 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
4 |
from langchain_google_genai import GoogleGenerativeAIEmbeddings
|
5 |
import google.generativeai as genai
|
6 |
-
from
|
7 |
-
import from langchain_community.vectorstores import FAISS
|
8 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
9 |
from langchain.chains.question_answering import load_qa_chain
|
10 |
from langchain.prompts import PromptTemplate
|
|
|
3 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
4 |
from langchain_google_genai import GoogleGenerativeAIEmbeddings
|
5 |
import google.generativeai as genai
|
6 |
+
from langchain_community.vectorstores import FAISS
|
|
|
7 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
8 |
from langchain.chains.question_answering import load_qa_chain
|
9 |
from langchain.prompts import PromptTemplate
|