heikowagner commited on
Commit
af7f187
1 Parent(s): 50377cd
Files changed (2) hide show
  1. app/requirements.txt +1 -1
  2. app/utils.py +1 -0
app/requirements.txt CHANGED
@@ -1,5 +1,5 @@
1
  #git+https://github.com/hwchase17/langchain.git
2
- langchain
3
  git+https://github.com/huggingface/transformers.git
4
  git+https://github.com/chroma-core/chroma.git
5
  accelerate
 
1
  #git+https://github.com/hwchase17/langchain.git
2
+ langchain==0.0.154
3
  git+https://github.com/huggingface/transformers.git
4
  git+https://github.com/chroma-core/chroma.git
5
  accelerate
app/utils.py CHANGED
@@ -80,6 +80,7 @@ def load_files():
80
  if st.button('Upload'):
81
  docs = load_from_web(urls)
82
  sub_docs = load_and_split(docs, chunk_size=int(chunk_size))
 
83
  create_and_add(selected_collection["name"], sub_docs, selected_collection['model_name'], {"model_name": selected_collection['model_name']})
84
  uploaded_files=None
85
  st.write("Upload succesful")
 
80
  if st.button('Upload'):
81
  docs = load_from_web(urls)
82
  sub_docs = load_and_split(docs, chunk_size=int(chunk_size))
83
+ print(selected_collection['model_name'])
84
  create_and_add(selected_collection["name"], sub_docs, selected_collection['model_name'], {"model_name": selected_collection['model_name']})
85
  uploaded_files=None
86
  st.write("Upload succesful")