Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -292,7 +292,7 @@ with gr.Blocks(css='#chatbot .overflow-y-auto{height:750px}') as demo:
|
|
292 |
stage_number = stage_number[-1]
|
293 |
stage_history += stage_number if stage_history == "stage history: " else ", " + stage_number
|
294 |
response = agent_executor.run({'input':user_response, 'conversation_history': pre_conversation_history, 'stage_number': stage_number})
|
295 |
-
|
296 |
response = response.split('<END_OF_TURN>')[0]
|
297 |
chat_history.append((user_response, response))
|
298 |
user_response_examples = []
|
|
|
292 |
stage_number = stage_number[-1]
|
293 |
stage_history += stage_number if stage_history == "stage history: " else ", " + stage_number
|
294 |
response = agent_executor.run({'input':user_response, 'conversation_history': pre_conversation_history, 'stage_number': stage_number})
|
295 |
+
conversation_history += "이우선: " + response + "\n"
|
296 |
response = response.split('<END_OF_TURN>')[0]
|
297 |
chat_history.append((user_response, response))
|
298 |
user_response_examples = []
|