Spaces:
Runtime error
Runtime error
minor
Browse files
app.py
CHANGED
@@ -184,7 +184,7 @@ def run_statement(statement: str, retriever_top_k: int = 5):
|
|
184 |
return run
|
185 |
|
186 |
@st.cache_resource
|
187 |
-
def check_statement(
|
188 |
"""Run query and verify statement"""
|
189 |
params = {"retriever": {"top_k": retriever_top_k}}
|
190 |
return pipe.run(statement, params=params)
|
|
|
184 |
return run
|
185 |
|
186 |
@st.cache_resource
|
187 |
+
def check_statement(statement: str, retriever_top_k: int = 5):
|
188 |
"""Run query and verify statement"""
|
189 |
params = {"retriever": {"top_k": retriever_top_k}}
|
190 |
return pipe.run(statement, params=params)
|