Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ def magicEight(message, history):
|
|
9 |
message = random.choice(answers)
|
10 |
return message
|
11 |
|
12 |
-
chatbot = gr.ChatInterface(
|
|
|
13 |
|
14 |
chatbot.launch()
|
|
|
9 |
message = random.choice(answers)
|
10 |
return message
|
11 |
|
12 |
+
chatbot = gr.ChatInterface(
|
13 |
+
magicEight, chatbot="Welcome! Ask the Magic Eight Ball your question!", type="messages")
|
14 |
|
15 |
chatbot.launch()
|