Spaces:
Runtime error
Runtime error
minor
Browse files
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
|