Pengi5659 commited on
Commit
10b4c69
·
verified ·
1 Parent(s): d05c746

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
2
  import random as rd
3
 
4
  def echo (message, history):
5
- choices = ["yes","no"]
6
- random_choice = rd.choice(choices)
7
  return random_choice
8
 
9
  chatbot = gr.ChatInterface(echo, type = "messages", title = "Rando Bot")
 
2
  import random as rd
3
 
4
  def echo (message, history):
5
+ eight_ball_answers = ["yes","no","ehhh probably not the best idea","Sure why not!","idk","i seems not","hahahaha... no","yes of course!"]
6
+ random_choice = rd.choice(eight_ball_answers)
7
  return random_choice
8
 
9
  chatbot = gr.ChatInterface(echo, type = "messages", title = "Rando Bot")