Spaces:
Running
Running
Commit
·
73ec06a
1
Parent(s):
edb5933
Update space
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def vanilla_chatbot(message, history):
|
|
12 |
conversation = Conversation(text=message, past_user_inputs=message_list, generated_responses=response_list)
|
13 |
conversation = chatbot(conversation)
|
14 |
|
15 |
-
return conversation.generated_responses[-1]
|
16 |
|
17 |
demo_chatbot = gr.ChatInterface(vanilla_chatbot, title="Vanilla Chatbot", description="Enter text to start chatting.")
|
18 |
|
|
|
12 |
conversation = Conversation(text=message, past_user_inputs=message_list, generated_responses=response_list)
|
13 |
conversation = chatbot(conversation)
|
14 |
|
15 |
+
return conversation[0].generated_responses[-1]
|
16 |
|
17 |
demo_chatbot = gr.ChatInterface(vanilla_chatbot, title="Vanilla Chatbot", description="Enter text to start chatting.")
|
18 |
|