Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,16 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
from langchain.llms import GooglePalm
|
4 |
-
from langchain.document_loaders.csv_loader import CSVLoader
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
from langchain_huggingface import HuggingFaceEmbeddings
|
6 |
-
|
7 |
|
8 |
api_key = "AIzaSyCdM_aAIsW_nPbjarOF83mbX1_z1cVX2_M"
|
9 |
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
# from langchain.llms import GooglePalm
|
4 |
+
# from langchain.document_loaders.csv_loader import CSVLoader
|
5 |
+
# from langchain_huggingface import HuggingFaceEmbeddings
|
6 |
+
# from langchain.vectorstores import FAISS
|
7 |
+
|
8 |
+
|
9 |
+
from langchain_community.llms import GooglePalm
|
10 |
+
from langchain_community.document_loaders import CSVLoader
|
11 |
+
from langchain_community.vectorstores import FAISS
|
12 |
from langchain_huggingface import HuggingFaceEmbeddings
|
13 |
+
|
14 |
|
15 |
api_key = "AIzaSyCdM_aAIsW_nPbjarOF83mbX1_z1cVX2_M"
|
16 |
|