bibliotecadebabel commited on
Commit
c36cba9
1 Parent(s): bef52ac

added cohere back

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -47,8 +47,7 @@ st.title('Search Demo')
47
 
48
  # Input fields
49
  query = st.text_input('Enter your search query here')
50
- # use_cohere = st.checkbox('Use Cohere', value=False) # Default to checked
51
- use_cohere = False
52
 
53
  programmatic_search_config = deepcopy(configurations['programmatic_search_config'])
54
 
 
47
 
48
  # Input fields
49
  query = st.text_input('Enter your search query here')
50
+ use_cohere = st.checkbox('Use Cohere', value=True) # Default to checked
 
51
 
52
  programmatic_search_config = deepcopy(configurations['programmatic_search_config'])
53
 
requirements.txt CHANGED
@@ -8,5 +8,5 @@ s3fs
8
  numpy
9
  faiss-gpu
10
  sentence_transformers
11
- cohere
12
  mixedbread_ai
 
8
  numpy
9
  faiss-gpu
10
  sentence_transformers
11
+ cohere==5.2.5
12
  mixedbread_ai