Spaces:
Runtime error
Runtime error
content print
Browse files
app.py
CHANGED
@@ -83,11 +83,11 @@ if user_input:
|
|
83 |
docs = chain.get_relevant_documents(user_input)
|
84 |
print('docs')
|
85 |
print(docs)
|
86 |
-
print('
|
87 |
print(docs[0])
|
88 |
output = 'nothing right now'
|
89 |
-
|
90 |
-
|
91 |
|
92 |
st.session_state.past.append(user_input)
|
93 |
st.session_state.generated.append(output)
|
|
|
83 |
docs = chain.get_relevant_documents(user_input)
|
84 |
print('docs')
|
85 |
print(docs)
|
86 |
+
print('docs[0]')
|
87 |
print(docs[0])
|
88 |
output = 'nothing right now'
|
89 |
+
content = docs[0].page_content
|
90 |
+
print(content)
|
91 |
|
92 |
st.session_state.past.append(user_input)
|
93 |
st.session_state.generated.append(output)
|