demetz commited on
Commit
3e35d25
·
verified ·
1 Parent(s): c9cd892

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,6 +9,7 @@ def magicEight(message, history):
9
  message = random.choice(answers)
10
  return message
11
 
12
- chatbot = gr.ChatInterface(magicEight, type="messages")
 
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()