Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,5 +5,5 @@ def echo(message, history):
|
|
| 5 |
choices = ["Without a doubt", "Ask again later","Yes, definitely","Don't count on it"]
|
| 6 |
response = random.choice(choices)
|
| 7 |
return response
|
| 8 |
-
chatbot = gr.ChatInterface(echo, type = "messages", title = "8 ball chatbot")
|
| 9 |
chatbot.launch()
|
|
|
|
| 5 |
choices = ["Without a doubt", "Ask again later","Yes, definitely","Don't count on it"]
|
| 6 |
response = random.choice(choices)
|
| 7 |
return response
|
| 8 |
+
chatbot = gr.ChatInterface(echo, type = "messages", examples = ["am I awesome", "Is it sunny today?", "r you okay?"], title = "8 ball chatbot")
|
| 9 |
chatbot.launch()
|