Spaces:
Sleeping
Sleeping
Chandranshu Jain
commited on
Commit
•
cc03242
1
Parent(s):
ae7c05c
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,11 @@ from langchain_community.vectorstores import Chroma
|
|
7 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
8 |
from langchain.chains.question_answering import load_qa_chain
|
9 |
from langchain.prompts import PromptTemplate
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
st.set_page_config(page_title="Document Genie", layout="wide")
|
12 |
|
|
|
7 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
8 |
from langchain.chains.question_answering import load_qa_chain
|
9 |
from langchain.prompts import PromptTemplate
|
10 |
+
from streamlit_chromadb_connection.chromadb_connection import ChromadbConnection
|
11 |
+
configuration = {
|
12 |
+
"client": "PersistentClient",
|
13 |
+
"path": "/tmp/.chroma"
|
14 |
+
}
|
15 |
|
16 |
st.set_page_config(page_title="Document Genie", layout="wide")
|
17 |
|