luiscgp commited on
Commit
93db7bd
·
1 Parent(s): afc2679
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -178,6 +178,7 @@ def start_haystack():
178
  return pipe
179
 
180
  def run_statement(statement: str, retriever_top_k: int = 5):
 
181
  pipe = start_haystack()
182
  run = check_statement(statement, retriever_top_k)
183
  return run
 
178
  return pipe
179
 
180
  def run_statement(statement: str, retriever_top_k: int = 5):
181
+ global pipe
182
  pipe = start_haystack()
183
  run = check_statement(statement, retriever_top_k)
184
  return run