Update app.py
Browse files
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):
|