Spaces:
Sleeping
Sleeping
Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -43,7 +43,7 @@ async def handle_userinput(user_question, custom_graph):
|
|
43 |
)
|
44 |
|
45 |
# Retrieve the documents from the graph's state (if available)
|
46 |
-
docs =
|
47 |
|
48 |
# Display the retrieved documents in the sidebar
|
49 |
with st.sidebar:
|
|
|
43 |
)
|
44 |
|
45 |
# Retrieve the documents from the graph's state (if available)
|
46 |
+
docs = state_dict["documents"]
|
47 |
|
48 |
# Display the retrieved documents in the sidebar
|
49 |
with st.sidebar:
|