Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,8 @@ from langchain.memory import ConversationBufferMemory
|
|
12 |
from langchain.chains import ConversationalRetrievalChain
|
13 |
from htmlTemplates import css, bot_template, user_template
|
14 |
from langchain.llms import HuggingFaceHub
|
|
|
|
|
15 |
|
16 |
# set this key as an environment variable
|
17 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = st.secrets['huggingface_token']
|
|
|
12 |
from langchain.chains import ConversationalRetrievalChain
|
13 |
from htmlTemplates import css, bot_template, user_template
|
14 |
from langchain.llms import HuggingFaceHub
|
15 |
+
from langchain.vectorstores import Chroma
|
16 |
+
|
17 |
|
18 |
# set this key as an environment variable
|
19 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = st.secrets['huggingface_token']
|