Boardpac/theekshanas commited on
Commit
b68a115
1 Parent(s): 7a161ab

req versions added

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +3 -3
app.py CHANGED
@@ -169,7 +169,7 @@ def parameters_change_button(chat_model, show_source):
169
  time.sleep(1) # Wait for 3 seconds
170
  alert.empty() # Clear the alert
171
 
172
- # @st.cache_data
173
  def get_answer_from_backend(query, model, dataset):
174
  # response = qaPipeline.run(query=query, model=model, dataset=dataset)
175
  response = qaPipeline.run_agent(query=query, model=model, dataset=dataset)
 
169
  time.sleep(1) # Wait for 3 seconds
170
  alert.empty() # Clear the alert
171
 
172
+ @st.cache_data
173
  def get_answer_from_backend(query, model, dataset):
174
  # response = qaPipeline.run(query=query, model=model, dataset=dataset)
175
  response = qaPipeline.run_agent(query=query, model=model, dataset=dataset)
requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
- langchain
2
- openai
3
  gpt4all
4
 
5
  # chromadb
@@ -10,7 +10,7 @@ faiss-cpu
10
 
11
  pypdf
12
 
13
- streamlit
14
  # uncomment to use huggingface llms
15
  huggingface-hub
16
  sentence_transformers
 
1
+ langchain = 0.0.287
2
+ openai = 0.27.8
3
  gpt4all
4
 
5
  # chromadb
 
10
 
11
  pypdf
12
 
13
+ streamlit = 1.25.0
14
  # uncomment to use huggingface llms
15
  huggingface-hub
16
  sentence_transformers