Binaryy commited on
Commit
1576843
1 Parent(s): 35584b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def encode(text: str):
44
  indices = sparse_vec.nonzero().squeeze().cpu().tolist()
45
  values = sparse_vec[indices].cpu().tolist()
46
  sparse_dict = {"indices": indices, "values": values}
47
- # return vecs
48
  return dense_vec, sparse_dict
49
 
50
  def search(query):
 
44
  indices = sparse_vec.nonzero().squeeze().cpu().tolist()
45
  values = sparse_vec[indices].cpu().tolist()
46
  sparse_dict = {"indices": indices, "values": values}
47
+ # return vecss
48
  return dense_vec, sparse_dict
49
 
50
  def search(query):