Spaces:
Sleeping
Sleeping
Kieran Gookey
commited on
Commit
·
5b24b6b
1
Parent(s):
16dcc46
Output source nodes
Browse files
app.py
CHANGED
|
@@ -68,7 +68,9 @@ if st.button('Start Pipeline'):
|
|
| 68 |
|
| 69 |
response = query_engine.query(query)
|
| 70 |
|
| 71 |
-
st.write(response)
|
|
|
|
|
|
|
| 72 |
|
| 73 |
else:
|
| 74 |
st.error('Please fill in all the fields')
|
|
|
|
| 68 |
|
| 69 |
response = query_engine.query(query)
|
| 70 |
|
| 71 |
+
st.write(response.response_txt)
|
| 72 |
+
|
| 73 |
+
st.write(response.source_nodes)
|
| 74 |
|
| 75 |
else:
|
| 76 |
st.error('Please fill in all the fields')
|