Update query arg in Tutorial 7 (#656)

This commit is contained in:
Malte Pietsch 2020-12-04 08:42:09 +01:00 committed by GitHub
parent 8e52b48e1d
commit e6ada08d0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ for question in QUESTIONS:
# Now generate answer from question and retrieved documents
predicted_result = generator.predict(
question=question,
query=question,
documents=retriever_results,
top_k=1
)