Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,6 +8,7 @@ response_list = []
|
|
| 8 |
def vanilla_chatbot(message, history):
|
| 9 |
conversation = Conversation(text=message, past_user_inputs=message_list,
|
| 10 |
generated_responses=response_list)
|
|
|
|
| 11 |
bot = chatbot(conversation.messages[0]['content']) # working code
|
| 12 |
print(bot)
|
| 13 |
return bot[-1]['generated_text']
|
|
|
|
| 8 |
def vanilla_chatbot(message, history):
|
| 9 |
conversation = Conversation(text=message, past_user_inputs=message_list,
|
| 10 |
generated_responses=response_list)
|
| 11 |
+
print(conversation)
|
| 12 |
bot = chatbot(conversation.messages[0]['content']) # working code
|
| 13 |
print(bot)
|
| 14 |
return bot[-1]['generated_text']
|