SungBeom commited on
Commit
24dbe35
1 Parent(s): 4662883

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -278,8 +278,9 @@ with gr.Blocks(css='#chatbot .overflow-y-auto{height:750px}') as demo:
278
  stage_number = stage_number[-1]
279
  stage_history += stage_number if stage_history == "stage history: " else ", " + stage_number
280
  response = agent_executor.run({'input':user_response, 'conversation_history': pre_conversation_history, 'stage_number': stage_number})
281
- # conversation_history += "이우선: " + response + "\n"
282
  response = response.split('<END_OF_TURN>')[0]
 
283
  chat_history.append((user_response, response))
284
 
285
  return "", chat_history, stage_history
 
278
  stage_number = stage_number[-1]
279
  stage_history += stage_number if stage_history == "stage history: " else ", " + stage_number
280
  response = agent_executor.run({'input':user_response, 'conversation_history': pre_conversation_history, 'stage_number': stage_number})
281
+ conversation_history += "이우선: " + response + "\n"
282
  response = response.split('<END_OF_TURN>')[0]
283
+ print(conversation_history)
284
  chat_history.append((user_response, response))
285
 
286
  return "", chat_history, stage_history