Spaces:
Running
Running
Nikhil-Murade
commited on
Commit
•
d744538
1
Parent(s):
f893d9e
upadate app.py
Browse files
app.py
CHANGED
@@ -127,7 +127,7 @@ if st.session_state.messages[-1]["role"] != "assistant":
|
|
127 |
nodes = [node for node in response.source_nodes]
|
128 |
for col, node, i in zip(st.columns(len(nodes)), nodes, range(len(nodes))):
|
129 |
with col:
|
130 |
-
st.header(f"Source Node {i+1}: score = {node.score}")
|
131 |
# st.write(node.text)
|
132 |
st.subheader(f"File Path: {node.metadata['file_name']}")
|
133 |
st.write(node.metadata)
|
|
|
127 |
nodes = [node for node in response.source_nodes]
|
128 |
for col, node, i in zip(st.columns(len(nodes)), nodes, range(len(nodes))):
|
129 |
with col:
|
130 |
+
# st.header(f"Source Node {i+1}: score = {node.score}")
|
131 |
# st.write(node.text)
|
132 |
st.subheader(f"File Path: {node.metadata['file_name']}")
|
133 |
st.write(node.metadata)
|