Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,5 +5,5 @@ def yes_or_no(message, history):
|
|
| 5 |
# def echo(message, history):
|
| 6 |
# return message
|
| 7 |
print("Hello, World!")
|
| 8 |
-
chatbot = gr.ChatInterface(yes_or_no, type="messages", title='Ask me anything!', description='Ask the chatbot any yes or no question to get a response. Chatbot not liable for consequences of bad advice.')
|
| 9 |
chatbot.launch()
|
|
|
|
| 5 |
# def echo(message, history):
|
| 6 |
# return message
|
| 7 |
print("Hello, World!")
|
| 8 |
+
chatbot = gr.ChatInterface(yes_or_no, type="messages", examples=['yes queen', 'no way jose', 'hmmmm ot sure'], title='Ask me anything!', description='Ask the chatbot any yes or no question to get a response. Chatbot not liable for consequences of bad advice.')
|
| 9 |
chatbot.launch()
|