Spaces:
Sleeping
Sleeping
Added new properties to the chatbot!
Browse files
app.py
CHANGED
|
@@ -12,5 +12,5 @@ def random_response(message, history):
|
|
| 12 |
def magic_8_ball(message, history):
|
| 13 |
return random.choice(["It is certain", "Most likely", "Yes", "You may rely on it", "Ask again later", "Don't count on it", "My sources say no", "Cannot predict now", "Outlook not so good"])
|
| 14 |
|
| 15 |
-
chatbot = gr.ChatInterface(magic_8_ball, type = 'messages')
|
| 16 |
chatbot.launch()
|
|
|
|
| 12 |
def magic_8_ball(message, history):
|
| 13 |
return random.choice(["It is certain", "Most likely", "Yes", "You may rely on it", "Ask again later", "Don't count on it", "My sources say no", "Cannot predict now", "Outlook not so good"])
|
| 14 |
|
| 15 |
+
chatbot = gr.ChatInterface(magic_8_ball, type = 'messages', title = 'Magic 8 Ball', description = "Ask me your most pressing questions!", theme = "mgetz/Celeb_glitzy")
|
| 16 |
chatbot.launch()
|