nyoo827 commited on
Commit
edbfb77
Β·
1 Parent(s): adbb75a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -100,7 +100,8 @@ def handle_userinput(user_question):
100
 
101
  # λŒ€ν™” 체인을 μ‚¬μš©ν•˜μ—¬ μ‚¬μš©μž μ§ˆλ¬Έμ— λŒ€ν•œ 응닡을 μƒμ„±ν•©λ‹ˆλ‹€.
102
  st.session_state.conversation = {'question': user_question}
103
- response = st.session_state.conversation
 
104
 
105
  if 'chat_history' in response:
106
  st.session_state.chat_history = response['chat_history']
 
100
 
101
  # λŒ€ν™” 체인을 μ‚¬μš©ν•˜μ—¬ μ‚¬μš©μž μ§ˆλ¬Έμ— λŒ€ν•œ 응닡을 μƒμ„±ν•©λ‹ˆλ‹€.
102
  st.session_state.conversation = {'question': user_question}
103
+ st.session_state.chat_history = response['chat_history']
104
+ #response = st.session_state.conversation
105
 
106
  if 'chat_history' in response:
107
  st.session_state.chat_history = response['chat_history']