han-byeol commited on
Commit
b45580c
·
1 Parent(s): 0b96009

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -169,9 +169,9 @@ def main():
169
  # create conversation chain
170
  st.session_state.conversation = get_conversation_chain(
171
  vectorstore)
172
- if "conversation" not in st.session_state or st.session_state.conversation is None:
173
  # conversation을 초기화합니다 (이미 설정되어 있지 않은 경우)
174
- st.session_state.conversation = ConversationalRetrievalChain()
175
 
176
  if __name__ == '__main__':
177
  main()
 
169
  # create conversation chain
170
  st.session_state.conversation = get_conversation_chain(
171
  vectorstore)
172
+ if "conversation" not in st.session_state or st.session_state.conversation is None:
173
  # conversation을 초기화합니다 (이미 설정되어 있지 않은 경우)
174
+ st.session_state.conversation = ConversationalRetrievalChain()
175
 
176
  if __name__ == '__main__':
177
  main()