Spaces:
Sleeping
Sleeping
deleting printing docs
Browse files
app.py
CHANGED
|
@@ -20,8 +20,6 @@ def ask_question(question):
|
|
| 20 |
prediction = pipeline.run(query=question, params={"Retriever": {"top_k": 10}, "Reader": {"top_k": 5}})
|
| 21 |
st.write(prediction)
|
| 22 |
|
| 23 |
-
st.write(docs[1])
|
| 24 |
-
|
| 25 |
question = st.text_input(label="Ask a Question about Game of Thromes", value="Who is Arya's father?")
|
| 26 |
|
| 27 |
if question:
|
|
|
|
| 20 |
prediction = pipeline.run(query=question, params={"Retriever": {"top_k": 10}, "Reader": {"top_k": 5}})
|
| 21 |
st.write(prediction)
|
| 22 |
|
|
|
|
|
|
|
| 23 |
question = st.text_input(label="Ask a Question about Game of Thromes", value="Who is Arya's father?")
|
| 24 |
|
| 25 |
if question:
|