Spaces:
Sleeping
Sleeping
fixed errors
Browse files
app.py
CHANGED
|
@@ -5,5 +5,5 @@ def yes_no(message, history):
|
|
| 5 |
respones = ['yes','no']
|
| 6 |
return random.choice(respones)
|
| 7 |
|
| 8 |
-
chatbot = gr.ChatInterface(yes_no, type='messages', title
|
| 9 |
chatbot.launch()
|
|
|
|
| 5 |
respones = ['yes','no']
|
| 6 |
return random.choice(respones)
|
| 7 |
|
| 8 |
+
chatbot = gr.ChatInterface(yes_no, type='messages', title= "Yes or No Chatbot", description= "This is a chatbot that responds with yes or no to your questions!", examples= ["Will I win the lottery today?", "Will it rain today?", "Do I need a jacket today?"])
|
| 9 |
chatbot.launch()
|