ppsingh commited on
Commit
f396e07
·
verified ·
1 Parent(s): 3fe1fb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -26,11 +26,6 @@ collection_name = "giz_worldwide"
26
  ################### Hybrid Search ######################################################
27
  client = get_client()
28
  print(client.get_collections())
29
-
30
-
31
-
32
-
33
-
34
  button=st.button("search")
35
  #found_docs = vectorstore.similarity_search(var)
36
  #print(found_docs)
@@ -40,7 +35,7 @@ if button:
40
  st.write(f"Showing Top 10 results for query:{var}")
41
  st.write(f"Semantic: {len(results[0])}")
42
  st.write(results[0])
43
- st.write(f"Semantic: {len(results[1])}")
44
  st.write(results[1])
45
 
46
  # for i in results:
 
26
  ################### Hybrid Search ######################################################
27
  client = get_client()
28
  print(client.get_collections())
 
 
 
 
 
29
  button=st.button("search")
30
  #found_docs = vectorstore.similarity_search(var)
31
  #print(found_docs)
 
35
  st.write(f"Showing Top 10 results for query:{var}")
36
  st.write(f"Semantic: {len(results[0])}")
37
  st.write(results[0])
38
+ st.write(f"Lexical: {len(results[1])}")
39
  st.write(results[1])
40
 
41
  # for i in results: