Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,9 +54,8 @@ def main():
|
|
54 |
|
55 |
chain = RetrievalQA.from_chain_type(llm=llm, chain_type = "stuff",return_source_documents=True, retriever=vectorstore.as_retriever())
|
56 |
result=chain(query)
|
57 |
-
wrapped_text = textwrap.fill(result['result'], width=500)
|
58 |
|
59 |
-
st.write(
|
60 |
|
61 |
if __name__ == '__main__':
|
62 |
main()
|
|
|
54 |
|
55 |
chain = RetrievalQA.from_chain_type(llm=llm, chain_type = "stuff",return_source_documents=True, retriever=vectorstore.as_retriever())
|
56 |
result=chain(query)
|
|
|
57 |
|
58 |
+
st.write(result['result'])
|
59 |
|
60 |
if __name__ == '__main__':
|
61 |
main()
|