Update pages/bot.py
Browse files- pages/bot.py +1 -2
pages/bot.py
CHANGED
@@ -10,7 +10,7 @@ from langchain.memory import ConversationBufferMemory
|
|
10 |
from langchain.chains import ConversationalRetrievalChain
|
11 |
#from htmlTemplates import css, bot_template, user_template
|
12 |
from langchain.llms import HuggingFaceHub
|
13 |
-
|
14 |
###########
|
15 |
#pip install faiss-cpu
|
16 |
#pip install langchain
|
@@ -73,7 +73,6 @@ def get_vectorstore():
|
|
73 |
|
74 |
|
75 |
def main():
|
76 |
-
load_dotenv()
|
77 |
user_question = st.text_area("Stell mir eine Frage: ")
|
78 |
folder_path = './files'
|
79 |
pdf_text = get_pdf_text(folder_path)
|
|
|
10 |
from langchain.chains import ConversationalRetrievalChain
|
11 |
#from htmlTemplates import css, bot_template, user_template
|
12 |
from langchain.llms import HuggingFaceHub
|
13 |
+
|
14 |
###########
|
15 |
#pip install faiss-cpu
|
16 |
#pip install langchain
|
|
|
73 |
|
74 |
|
75 |
def main():
|
|
|
76 |
user_question = st.text_area("Stell mir eine Frage: ")
|
77 |
folder_path = './files'
|
78 |
pdf_text = get_pdf_text(folder_path)
|