luiscgp commited on
Commit
9a7643d
·
1 Parent(s): 3b7ac08
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -180,7 +180,7 @@ def start_haystack():
180
  pipe = start_haystack()
181
 
182
  @st.cache_resource
183
- def check_statement(pipe, statement: str, retriever_top_k: int = 5):
184
  """Run query and verify statement"""
185
  params = {"retriever": {"top_k": retriever_top_k}}
186
  return pipe.run(statement, params=params)
 
180
  pipe = start_haystack()
181
 
182
  @st.cache_resource
183
+ def check_statement(statement: str, retriever_top_k: int = 5):
184
  """Run query and verify statement"""
185
  params = {"retriever": {"top_k": retriever_top_k}}
186
  return pipe.run(statement, params=params)