Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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):
|