PCFISH commited on
Commit
ba021ee
β€’
1 Parent(s): f5f9605

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def get_conversation_chain(vectorstore):
85
  )
86
  st.session_state.conversation = conversation_chain
87
 
88
- return st.session_state.conversation
89
 
90
  # μ‚¬μš©μž μž…λ ₯을 μ²˜λ¦¬ν•˜λŠ” ν•¨μˆ˜μž…λ‹ˆλ‹€.
91
  def handle_userinput(user_question):
 
85
  )
86
  st.session_state.conversation = conversation_chain
87
 
88
+ return st.session_state.conversation if st.session_state.conversation else ConversationalRetrievalChain()
89
 
90
  # μ‚¬μš©μž μž…λ ₯을 μ²˜λ¦¬ν•˜λŠ” ν•¨μˆ˜μž…λ‹ˆλ‹€.
91
  def handle_userinput(user_question):