KarthickAdopleAI commited on
Commit
f710d56
·
verified ·
1 Parent(s): 9dfc326

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def history_of_both(convo_history):
77
  bot_messages = []
78
 
79
  # Iterate through the input list
80
- for message in input_list:
81
  if message.endswith('<END_OF_TURN>'):
82
  # Customer message
83
  if len(customer_messages) == len(bot_messages):
 
77
  bot_messages = []
78
 
79
  # Iterate through the input list
80
+ for message in convo_history:
81
  if message.endswith('<END_OF_TURN>'):
82
  # Customer message
83
  if len(customer_messages) == len(bot_messages):