Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -217,7 +217,7 @@ def qa_retrieve(query,):
|
|
217 |
consensus = consensus[:consensus.index('In conclusion')]
|
218 |
intro = qa_intro(query, consensus, tier_1)
|
219 |
conclusion = qa_conclusion(query, consensus, tier_1)
|
220 |
-
cynthesis = intro + "\n\n" + consensus +
|
221 |
# for i in range(1, len(tier_1)+1):
|
222 |
# response = response.replace(f'[{i}]', f"<span class='text-primary'>[{i}]</span>")
|
223 |
|
|
|
217 |
consensus = consensus[:consensus.index('In conclusion')]
|
218 |
intro = qa_intro(query, consensus, tier_1)
|
219 |
conclusion = qa_conclusion(query, consensus, tier_1)
|
220 |
+
cynthesis = intro + "\n\n" + consensus + conclusion
|
221 |
# for i in range(1, len(tier_1)+1):
|
222 |
# response = response.replace(f'[{i}]', f"<span class='text-primary'>[{i}]</span>")
|
223 |
|