PCFISH commited on
Commit
62acfad
β€’
1 Parent(s): 897ec15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -74,7 +74,8 @@ def get_conversation_chain(vectorstore):
74
  retriever=vectorstore.as_retriever(),
75
  memory=memory
76
  )
77
- return conversation_chain
 
78
 
79
  # μ‚¬μš©μž μž…λ ₯을 μ²˜λ¦¬ν•˜λŠ” ν•¨μˆ˜μž…λ‹ˆλ‹€.
80
  def handle_userinput(user_question):
 
74
  retriever=vectorstore.as_retriever(),
75
  memory=memory
76
  )
77
+ st.session_state.conversation = conversation_chain
78
+ return st.session_state.conversation
79
 
80
  # μ‚¬μš©μž μž…λ ₯을 μ²˜λ¦¬ν•˜λŠ” ν•¨μˆ˜μž…λ‹ˆλ‹€.
81
  def handle_userinput(user_question):