Pengi5659 commited on
Commit
646f983
·
verified ·
1 Parent(s): f12be1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def respond (message, history):
16
  print(response['choices'][0]['message']['content'].strip())
17
  return response['choices'][0]['message']['content'].strip()
18
 
19
- def respond (message, history):
20
  eight_ball_answers = ["yes","no","ehhh probably not the best idea","Sure why not!","idk","i seems not","hahahaha... no","yes of course!"]
21
  random_choice = rd.choice(eight_ball_answers)
22
  return random_choice
 
16
  print(response['choices'][0]['message']['content'].strip())
17
  return response['choices'][0]['message']['content'].strip()
18
 
19
+ def echo (message, history):
20
  eight_ball_answers = ["yes","no","ehhh probably not the best idea","Sure why not!","idk","i seems not","hahahaha... no","yes of course!"]
21
  random_choice = rd.choice(eight_ball_answers)
22
  return random_choice