Spaces:
Runtime error
Runtime error
iamviveksrk
commited on
Commit
•
d2f3fdd
1
Parent(s):
8c2a514
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ pipe = ExtractiveQAPipeline(reader, retriever)
|
|
18 |
|
19 |
st.title('pipeline initialized')
|
20 |
|
21 |
-
pred = pipe.run(query="Applications of AI and deep learning", params={"Retriever": {"top_k":
|
22 |
|
23 |
st.title('prediction done!')
|
24 |
|
|
|
18 |
|
19 |
st.title('pipeline initialized')
|
20 |
|
21 |
+
pred = pipe.run(query="Applications of AI and deep learning", params={"Retriever": {"top_k": 5}, "Reader": {"top_k": 2}})
|
22 |
|
23 |
st.title('prediction done!')
|
24 |
|