Spaces:
Build error
Build error
additional attributes
Browse files
app.py
CHANGED
|
@@ -6,6 +6,6 @@ def respond_randomly(message, history):
|
|
| 6 |
return random.choice(responses)
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(respond_randomly, type="messages",
|
| 9 |
-
title = "Yes or No Bot", description = "This is your magic 8 ball - ask any yes/no questions and receive an unbiased answer!")
|
| 10 |
|
| 11 |
chatbot.launch()
|
|
|
|
| 6 |
return random.choice(responses)
|
| 7 |
|
| 8 |
chatbot = gr.ChatInterface(respond_randomly, type="messages",
|
| 9 |
+
title = "Yes or No Bot", description = "This is your magic 8 ball - ask any yes/no questions and receive an unbiased answer!", examples = ["should I go out today?", "am I going to fail my next math exam if I don't study?", "am I going to get under hte rain today?"], theme = "soft")
|
| 10 |
|
| 11 |
chatbot.launch()
|