ErikH commited on
Commit
cf0475c
1 Parent(s): 50502c8

Update pages/bot.py

Browse files
Files changed (1) hide show
  1. 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
- from dotenv import load_dotenv
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)