Janec09 commited on
Commit
0c0cc9c
·
verified ·
1 Parent(s): 5ec42f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,14 +1,14 @@
1
  import gradio as gr
2
  import random
3
 
4
- def 8ball(message, history):
5
  return random.choice(['Let's goooo!!!!!', 'Yes haha', 'NO', 'GREAT!!!'])
6
 
7
  # def echo(message, history):
8
  # return message
9
 
10
  print("Hello World!")
11
- chatbot = gr.ChatInterface(8ball, title = "Magic 8 Ball", type = "messages")
12
  #defining my chatbot so users can interact and see their conversation history and send new messages!
13
 
14
  chatbot.launch()
 
1
  import gradio as gr
2
  import random
3
 
4
+ def eightball(message, history):
5
  return random.choice(['Let's goooo!!!!!', 'Yes haha', 'NO', 'GREAT!!!'])
6
 
7
  # def echo(message, history):
8
  # return message
9
 
10
  print("Hello World!")
11
+ chatbot = gr.ChatInterface(eightball, title = "Magic 8 Ball", type = "messages")
12
  #defining my chatbot so users can interact and see their conversation history and send new messages!
13
 
14
  chatbot.launch()