ArturG9 commited on
Commit
5fe1c69
1 Parent(s): 0cca84e

Update functions.py

Browse files
Files changed (1) hide show
  1. 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 = state("documents")
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: