tensorkelechi commited on
Commit
9812662
1 Parent(s): e4c4ba8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def embed_data(dataset):
47
  return embedded_data, embedder
48
 
49
  @stl.cache_resource
50
- def init_search(_embedded_data, embedder):
51
- text_search = ripple.TextSearch(_embedded_data, embedder.embed_model)
52
  stl.success("Initialized text search class")
53
  return text_search
54
 
 
47
  return embedded_data, embedder
48
 
49
  @stl.cache_resource
50
+ def init_search(_embedded_data, _embedder):
51
+ text_search = ripple.TextSearch(_embedded_data, _embedder.embed_model)
52
  stl.success("Initialized text search class")
53
  return text_search
54