Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,6 +63,7 @@ doc_score_pairs = sorted(doc_score_pairs, key=lambda x: x[1],
|
|
63 |
# Join these similar groups to form the context
|
64 |
context = "".join(x[0] for x in doc_score_pairs)
|
65 |
|
|
|
66 |
# Perform the querying
|
67 |
QA_input = {'question': query, 'context': context}
|
68 |
out = pipe(QA_input)
|
|
|
63 |
# Join these similar groups to form the context
|
64 |
context = "".join(x[0] for x in doc_score_pairs)
|
65 |
|
66 |
+
|
67 |
# Perform the querying
|
68 |
QA_input = {'question': query, 'context': context}
|
69 |
out = pipe(QA_input)
|